H
Hennie
I have a GridView with a uniqueidentifier as DataKey.
When the selected index change of the GridView I want to update a Session
variable with the DataKey value of the selected row. I tried
Dim ProgramID As String
ProgramID = GVProgram.SelectedValue
Session("ProgramID") = ProgramID
But get error:
Error 1 Value of type 'String' cannot be converted to 'System.Guid'.
Please help
Thanks
When the selected index change of the GridView I want to update a Session
variable with the DataKey value of the selected row. I tried
Dim ProgramID As String
ProgramID = GVProgram.SelectedValue
Session("ProgramID") = ProgramID
But get error:
Error 1 Value of type 'String' cannot be converted to 'System.Guid'.
Please help
Thanks