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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -