Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PadRight
Message
From
05/12/2008 12:20:40
 
 
To
05/12/2008 09:41:56
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01365649
Message ID:
01365712
Views:
13
Not sure if you want to do it in C# or VB.

Below is for C# you can get the idea for VB too.

string strName="Sudeep Kukreti";
Label1.Text=strName.PadRight(10).Substring(0,10);


Thanks,
Sudeep
Regards,
Sudeep Kukreti
________________________________________________________________
HELP is an act, do it, let it go.
LOVE is a gift, take it, let it grow.
PATIENCE is a sign we should wear, let it show
Previous
Reply
Map
View

Click here to load this message in the networking platform