I have a DetailsView that is filled in from a select on a GridView. I need to get the UserID from the DetailsView (this is not the logged on userID), move it to a control, and use it in another sqlDataSource to find information about that User (StudentUserID).
Basically I can’t get it to work. I don’t know if my findContol is not working but I also don’t know how to ‘convert’ to a string. The line ‘lblStudentUserID.Text = lblStudentID’ produces an error ‘Value of System.Web.UI.WebControls.label cannot be converted to a string’.
Go to the complete details ...