i am retrieving emp id from database i am using this code
Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("App_Data\CMS.mdb"))
con.Open()
Dim cmd As New OleDbCommand("SELECT EmpId from EmployeeLogin WHERE username='" & TextBox1.Text & "'", con)
Dim reader As OleDbDataReader = cmd.ExecuteReader()
While reader.Read()
TextBox3.Text = reader.GetInt32(0)
End While
but i want with autopostback = false
plz help..
Go to the complete details ...