c# - Append Error Text to Textbox -


i have sql update command runs upon button click. try/catch function , use catch function append errors may thrown textbox. possible? thanks!

catch (exception ex)  {    tb.text += ex.message; } 

for read feedback typically use textblock

and if want sql exceptions

catch (sqlexception ex)  

Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -