Datagrid binding
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
I have 1 query in which i want to select max(column) value and second query select * from tablename i want to bind both these queries to dataset and display in 1 datagrid. How to do this? Thanx Mini Thomas
-
I have 1 query in which i want to select max(column) value and second query select * from tablename i want to bind both these queries to dataset and display in 1 datagrid. How to do this? Thanx Mini Thomas
Try using group by in query. SELECT stateid, MAX(stateid) as "MAX id" FROM states GROUP BY stateid
Regards, Saqib Umar Sr. Software Engineer