Thanks for the reply.when i try this code
i am getting an error like this:
"Using the generic type 'System.Collect ions.Generic.Di ctionary<TKey,T Value>' requires '2' type arguments " while building
.
I am new to Dictionary,pls let me know how to make a call this function with thes 3 parameters..
Thanks in Advance...
User Profile
Collapse
-
yes.IList doesnot have the Item Property using C#.net VS 2005.so how to retrieve each of the item ?...Leave a comment:
-
-
Thanks for the reply.
but my question is: HQL returns an Ilist..that is fine.But how do I bind the IList to Gridview?
Is there any method of GridView DataBinding with IList? or
Is there any other method of executing HQL queries other than List and IList so that i can directly get the results in the form of DataSet/DataTable?
Thanks,...Leave a comment:
-
NHIbernate -.NET-Binding IList to GridView in .Net 2.0
Hi,
Is it possible to get the results of HQL queries in DataSet?.I want to display results of HQL query to GridView. As HQL results are returned in the form of IList/List collections i am unable to Bind to Grid View.
pls let me know,
1. How to bind IList collections to Grid view?
eg:
IList results=Query.L ist()
GridView1.DataS ource=results;
...
No activity results to display
Show More
Leave a comment: