public sub Page_Load()
Me.DoFunction(Me.srcTxt.Text);
end sub
public sub DoFunction(ByVal text as String)
con.Open()
Dim da As New SqlDataAdapter("Select * from Students " & _
"where student_id like '%" & text & "%' " & _
"or " & _
"student_firstname like '%" & text & "%' " & _
"or " & _
"student_lastname like '%" & text & "%'", con)
da.Fill(ds)
con.Close()
end sub