Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PadRight
Message
De
05/12/2008 12:20:40
 
 
À
05/12/2008 09:41:56
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01365649
Message ID:
01365712
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform