T
Tony WONG
the gridview is filtered by a textbox
when the user inputs 2009-1782 in the textbox
then the gridview shows the record numbered 1782
String before hypen is irrelevant, then a button event is used to erase
"2009-" in the textbox
***********
If InStr(SearchNo.Text, "-") = True Then
SearchNo.Text = Right(SearchNo.Text, len(SearchNo)-5)
GridView1.DataBind()
End If
************
but page error, it seems select command fires before change of textbox
What's the best way to do validating select parameters for the gridview?
Thanks a lot.
tony
when the user inputs 2009-1782 in the textbox
then the gridview shows the record numbered 1782
String before hypen is irrelevant, then a button event is used to erase
"2009-" in the textbox
***********
If InStr(SearchNo.Text, "-") = True Then
SearchNo.Text = Right(SearchNo.Text, len(SearchNo)-5)
GridView1.DataBind()
End If
************
but page error, it seems select command fires before change of textbox
What's the best way to do validating select parameters for the gridview?
Thanks a lot.
tony