i hvave created string in settings
area called dbusername
, string , there no value.
in code have
dim setting new my.mysettings private sub savebutton_click(sender object, e eventargs) handles savebutton.click if textbox1.text <> "" name = textbox1.text setting.dbusername = name '(error in line : property dbusername read )` setting.save() end if end sub
in project settings editor (in visual studio) "scope" of dbusername property needs set "user". "application" scoped properties read-only.
Comments
Post a Comment