people..
I took a look at internet by googling and I found something that does exactly what I was needing
Code:
NHibernate.IQuery iQuery = NHibernateSessionModule.Session.GetNamedQuery("GetArticlesByProfile");
iQuery.SetMaxResults(RecordsByPage);
iQuery.SetFirstResult(firstRercodToShow);
where "RecordsByPage" and "firstRercodToShow" are information came from aspx code behind page..
So, I dont know how NHibernate does the pagination yet
I dont know if it retrieves all records and just filters them or really does as should be...by retrieving just the ones that I have passed via parameter
but it works fine!
[/code]