Posted on: 5/22/2015 8:12:50 PM | Views : 602

I have been using this syntax to create a grid to display the results of the stored procedure.  Well now my requirements have changed and I need to make the 2nd and 3rd column editable (or clickable).  What should I alter/change to accommodate for the "clickability" of the row?  My stored procedure returns 3 columns, the 1st should not be allowed to click, the 2nd and 3rd should be.  Also, the stored procedure is returning an int value for these columns (a 1 or 0) -- can I convert that to display in the grid as a bit value, and if it's 1 display a checked checkbox, and if it is a 0 display an unchecked check-box?

DataTable dt = new DataTable(); dt = PullDataFromDatabase(); GridView1.DataSource = dt; GridView1.DataBind();

Go to the complete details ...