GridView, DataSet and DataTableshttp://forums.asp.net/t/1441853.aspx/1?GridView+DataSet+and+DataTablesWed, 01 Jul 2009 05:44:54 -040014418533267456http://forums.asp.net/p/1441853/3267456.aspx/1?GridView+DataSet+and+DataTablesGridView, DataSet and DataTables <p>Hello,</p> <p>Well I want to know if this is possible because I have no idea how to do this. I have one query that bring me some information about hotel rooms; I need to separate this info in different <b>DataTables</b>, lets say by each floor; like putting first floor in one <b>DataTable</b> and 20 floor in other <b>DataTable</b>, etc; then join all these <b>DataTables</b> in one <b>DataSet</b> and finally add this one to a <b>GridView</b>. Now with all of these I create 2 buttons to move between all <b> DataTables </b>and the <b>GridView</b> will only show the info by Category(floors).</p> <p><b>ie:</b><br> </p> <p><img src="http://img37.imageshack.us/img37/6626/hotelk.png" width="320" height="113"><br> </p> 2009-06-30T20:51:03-04:003267639http://forums.asp.net/p/1441853/3267639.aspx/1?Re+GridView+DataSet+and+DataTablesRe: GridView, DataSet and DataTables <p>&nbsp;Hi,</p> <p>you could try bind the table by passing the floor number upon clicking the button..</p> <p>&nbsp;</p> <p>Thanks</p> 2009-06-30T23:54:10-04:003267991http://forums.asp.net/p/1441853/3267991.aspx/1?Re+GridView+DataSet+and+DataTablesRe: GridView, DataSet and DataTables <p>gridview is designed to bind against one datasource(say datatable). So it is not logical to bind gridview against multiple datatables. </p> <p>find the below post</p> <p><a href="/p/1366300/2839892.aspx">http://forums.asp.net/p/1366300/2839892.aspx</a><br> </p> 2009-07-01T05:44:54-04:00