ISession s = Dal.Session;
string queryString = @"select t.SellDate as SellDate, t.DocumentNumber as DocNo, t.PriceGross as Gross,
t.PaymentDate as PaymentDate, ts.SettlementValue as SettlementValue, ds.{Path} + '\' + ds.Name as FilePath
from TransactionSettlement ts, Transaction t, DocScanned ds
where ts.TransactionId = t.Id and t.DocID = ds.DocID and ts.PaymentId = :paymentID";
query.SetInt32("paymentID", paymentID);
IQuery query = s.CreateQuery(queryString);
IList resultList = query.List();
Jak można "wrzucić" zwracane wyniki do asp.net datagrid mając dostęp do nich przez aliasy
np. ...<asp:BoundColumn **DataField="SellDate"** DataFormatString="{0:d}" />...??