GridView Row Selection
-
Hi! I have a Stored Procedure that groups information by date and calculate the amount of hours. On the Page_Load method I execute the Stored Procedure and then Display a GridView containing the Date and Total Hours. The problem I am having is that I have added a button and when you click on it, it should get the value from the Date cell. For example: If you click on the 20/01/2010 row then all the entries for that date should be displayed in another gridview. Thanks for the help!
Illegal Operation
-
Hi! I have a Stored Procedure that groups information by date and calculate the amount of hours. On the Page_Load method I execute the Stored Procedure and then Display a GridView containing the Date and Total Hours. The problem I am having is that I have added a button and when you click on it, it should get the value from the Date cell. For example: If you click on the 20/01/2010 row then all the entries for that date should be displayed in another gridview. Thanks for the help!
Illegal Operation
so on itemcommand or selectionchange event of gridview fire one query with date criteria and try to bind your second grid view by fetching data form the database hope this will work for you
-
Hi! I have a Stored Procedure that groups information by date and calculate the amount of hours. On the Page_Load method I execute the Stored Procedure and then Display a GridView containing the Date and Total Hours. The problem I am having is that I have added a button and when you click on it, it should get the value from the Date cell. For example: If you click on the 20/01/2010 row then all the entries for that date should be displayed in another gridview. Thanks for the help!
Illegal Operation
Hi, Do you add a button in every row?? I think you can bind the data value to the button. Then you can do other things.
April Comm100 - Leading Live Chat Software Provider