Hi,
I have a requirement like:
I have 20 columns of a grid, and My user does not want all columns at a time, wanted to see 10 columns on screen. Now for that he is expecting to hide remaining 10 columns and show when it is required. So I am thinking to have 2 tables from a stored procedure, in which first will return columns which are by default available on grid and 2nd table will contain remaining 10 columns.
So common factor or parent relation will be on EmployeeID.
I tried to and I am successful till database level but somehow not able to bind data to database. I want to do this all in code behind as my stored procedure is quite complex and so dont want to use dataSourceID.
So anyone help me out to show nested grid through code behind?
I have a requirement like:
I have 20 columns of a grid, and My user does not want all columns at a time, wanted to see 10 columns on screen. Now for that he is expecting to hide remaining 10 columns and show when it is required. So I am thinking to have 2 tables from a stored procedure, in which first will return columns which are by default available on grid and 2nd table will contain remaining 10 columns.
So common factor or parent relation will be on EmployeeID.
I tried to and I am successful till database level but somehow not able to bind data to database. I want to do this all in code behind as my stored procedure is quite complex and so dont want to use dataSourceID.
So anyone help me out to show nested grid through code behind?