Hello,
I'm returning values from a (sql server)stored proc into a dataGrid in C#. The retuned values i have turned into clickable buttons for users to select. I'm trying to figure out how to get these buttons from the dataGrid to baiscally run the stored proc again to return new set of data while passing in the selected buttons corresponding value or id as the stored proc param. Or.... taking the "onclicked" item from the datagrid and running a while loop to return the next set of values? I don't know if this is making sense, but basically I want to create an event handler for "onclicked" items in my data grid.
any help would be greatly appricated.
Thank you
I'm returning values from a (sql server)stored proc into a dataGrid in C#. The retuned values i have turned into clickable buttons for users to select. I'm trying to figure out how to get these buttons from the dataGrid to baiscally run the stored proc again to return new set of data while passing in the selected buttons corresponding value or id as the stored proc param. Or.... taking the "onclicked" item from the datagrid and running a while loop to return the next set of values? I don't know if this is making sense, but basically I want to create an event handler for "onclicked" items in my data grid.
any help would be greatly appricated.
Thank you