asp.net - How to Apply Databind For Instant Update -
how apply databind, recent updated value displyed instantly, press update button ?
dim cmd new data.sqlclient.sqlcommand dim con new data.sqlclient.sqlconnection(constr) try dim strsql string = "update a1_admins set imageurl = '" _ & "~/admin/image/" & filename & "' employeeid =" _ & label1.text '------------" con.open() cmd.connection = con cmd.commandtext = strsql cmd.executenonquery() catch ex exception response.write(ex.message) cmd.dispose() con.dispose() end try
just re-databind control. if post databinding code can provide better answer.
Comments
Post a Comment