C# Inputbox string value -
i'm creating login saves data on database.
how declare name entered string value name when .show returns name typed in?
private void btnlogin_click(object sender, eventargs e) { string input = microsoft.visualbasic.interaction.inputbox("prompt", "title",name, 0, 0); messagebox.show(name); }
easy this:
change
messagebox.show(name);
to
messagebox.show(input);
Comments
Post a Comment