J
jonefer
I'd like to use the selected value from particular column of a gridview to
determine a 'parameter' for another gridview control's dataset.
Setting the dataset, is not the problem.
getting the descrete value is...
I thought it would be as simple as this (below)- just as to confirm the
value is being passed.
But my test label doesn't show a value.
Protected Sub GridView3_SelectedIndexChanged(ByVal sender As Object, ByVal e
As System.EventArgs)
Dim strMeasureTitle As String
strMeasureTitle = Me.GridView3.SelectedRow.Cells(0).Text
Me.lblQualConfirm.Text = strMeasureTitle
End Sub
How can I make this work...?
Also, I've named the CommandName for each column so that I can refer to
whichever column returns the strMeasure's value so I can further isolate a
particular dataset to the 2nd grid.
Is this the approach for distinguishing which column sends a particular value?
determine a 'parameter' for another gridview control's dataset.
Setting the dataset, is not the problem.
getting the descrete value is...
I thought it would be as simple as this (below)- just as to confirm the
value is being passed.
But my test label doesn't show a value.
Protected Sub GridView3_SelectedIndexChanged(ByVal sender As Object, ByVal e
As System.EventArgs)
Dim strMeasureTitle As String
strMeasureTitle = Me.GridView3.SelectedRow.Cells(0).Text
Me.lblQualConfirm.Text = strMeasureTitle
End Sub
How can I make this work...?
Also, I've named the CommandName for each column so that I can refer to
whichever column returns the strMeasure's value so I can further isolate a
particular dataset to the 2nd grid.
Is this the approach for distinguishing which column sends a particular value?