Hi mozaharul

i have missing quotes
Quote:
|
cmd.CommandText="select name,perm_id,permid_moth from motherno where hpid = " & txthhidm.Text & " AND motherno = " & ((txthhidm.Text*100) + txtmemno.Text)
|
here i have correct code:
cmd.CommandText="select name,perm_id,permid_moth from motherno where hpid =
'" & txthhidm.Text & "
' AND motherno = " & ((txthhidm.Text*100) + txtmemno.Text)
