I am creating a simple web application.
But I am facing a problem with a Gridview that displays some data from the database in a column and i have another column with a buttons where I want to invoke a stored procedure.
However the stored procedure takes as input the value of the corresponding data in the other column, so my question is how to access the value of this column and pass it to the action listener of the corresponding buttonfield?
I am creating a simple web application. But I am facing a problem with
Share
You could set it up as a Template field in the aspx page and pass in the Value of the field you want as an argument:
And then in your code behind, you could do this:
You can find more solutions here