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
Post a Comment