GingJonesy
Member
- Joined
- Nov 30, 2011
- Messages
- 6
- Programming Experience
- Beginner
Hello, im currently trying to take the text from a details view and pass it to a label. Im getting the error message that it cannot be converted to string. I have tried both pieces of code below:
Dim ModCode As String = LblSelectedModCode.Text
LblSelectedModCode.Text = DtlVwProgrammeInfo.Rows[0].Cells[1].Text
Anyone any ideas how i could pass the value of the first row and cell 2 of my details view into a label??
Dim ModCode As String = LblSelectedModCode.Text
LblSelectedModCode.Text = DtlVwProgrammeInfo.Rows[0].Cells[1].Text
Anyone any ideas how i could pass the value of the first row and cell 2 of my details view into a label??