Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Figuring out what each cell means in GridView
Message
 
 
À
31/07/2008 20:30:59
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01335562
Message ID:
01335716
Vues:
14
>>Nice idea, thanks a lot. For now I don't need this anymore, since I was able to achieve my goal differently.
>
>And how did you accomplish it? Others might like to know for future reference ...
>
>~~Bonnie
>
>
I put
for (int i = 4; i < e.Row.Cells.Count; i++) 
{

e.Row.Cells[i].Attributes.Add("style", "word-wrap:break-word;width:70px"); 
} 
and in ASCX
ControlStyle-Width ="70px"
http://forums.asp.net/t/1298295.aspx

and it seems to fix the problem.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform