Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

How to display certain database value when a gridview row is selected

$
0
0

im trying to display out a specific database value when a particular gridview row is selected.

For example , i have a gridview binded with the SQL.
In my SQL i have memberID, typeofcrime, time and details. But i only bind my gridview with memberID, type of crime and time leaving the detail out. I only want the details to be displayed out in the textbox which means whenever i click a particular row of gridview, the textbox will be filled the details. How do i do it? 

I know selectedvalue from dropdownlist is able to do that what about gridview?  


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>