Its like you need to implement this in key press event of the textbox and get the textbox value and append % at the end and send to the DB and on DB end you need to use Like operator
in key press event
string val = TextBox1.Text + "%";
Send this as a parameter to the SP or you can directly call as a query
Select name from table1 where upper(uname) like upper(val)
txtSearch is textbox on form that will accept a required char.
string s = txtSearch.Text + "%";
string sql = Select empID from tblemployee where empname Like 's' // pass the value of s here.........
txtSearch is textbox on form that will accept a required char.string s = txtSearch.Text + "%";string sql = Select empID from tblemployee where empname Like '"+s+"' // pass the value of s here.........
string sql = Select empID from tblemployee where empname Like '"+s+"' // pass the value of s here.........