Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 04, 2008 11:59 PM by vinny1234
0 Points
4 Posts
Jul 03, 2008 09:24 AM|LINK
Hi, i am a junior .NET Developer from sydney.
Dim userName As String
When a user enter his userName(john) into text box it checks first does he existed or not, if he existed, i want add integer number to username for example is John1, john2, john3......etc
if not existed UserName is John.
Please help me its urgent
Thank you
Vinny
All-Star
98783 Points
9691 Posts
Moderator
Jul 03, 2008 12:14 PM|LINK
Are you asking simply how to append an integer to your TextBox value? If so, like this:
TextBox1.Text =
Jul 04, 2008 04:26 AM|LINK
Jul 04, 2008 11:59 PM|LINK
vinny1234
0 Points
4 Posts
How to add Integer with String example Stringname1, stringnName2, StringName3 ...etc
Jul 03, 2008 09:24 AM|LINK
Hi, i am a junior .NET Developer from sydney.
Dim userName As String
When a user enter his userName(john) into text box it checks first does he existed or not, if he existed, i want add integer number to username for example is John1, john2, john3......etc
if not existed UserName is John.
Please help me its urgent
Thank you
Vinny
ecbruck
All-Star
98783 Points
9691 Posts
Moderator
Re: How to add Integer with String example Stringname1, stringnName2, StringName3 ...etc
Jul 03, 2008 12:14 PM|LINK
Are you asking simply how to append an integer to your TextBox value? If so, like this:
TextBox1.Text =
String.Concat(TextBox1.Text, 1)Microsoft MVP - ASP.NET
vinny1234
0 Points
4 Posts
Re: How to add Integer with String example Stringname1, stringnName2, StringName3 ...etc
Jul 04, 2008 04:26 AM|LINK
vinny1234
0 Points
4 Posts
Re: How to add Integer with String example Stringname1, stringnName2, StringName3 ...etc
Jul 04, 2008 11:59 PM|LINK