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

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -