I have a gridview1 that displays customers with their codes.
The gridview contains 3 columns: The 1st contains an item tamplate with radiobutton(radioButton1) in it. The 2nd is a bound column that binds with CustomerID column of sql Customers table. The 3rd is a bound column that binds with CustomerFullName column of sql Customers table.
Below the gridview1 control I have a button (viewCustomerIDButton) and a textbox (customerIDTextBox).
All I want is when I check the radiobutton and click the button, my asp.net application grabs the CustomerID of the checked radiobutton gridview row and display it in the textbox.
Can anyone let me know how to do this by c# code for my asp.net web forms?
Please help!
Verygoodguy 0 Newbie Poster
hericles 289 Master Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.