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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -