Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Figuring out what each cell means in GridView
Message
De
01/08/2008 15:59:09
 
 
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:
01335952
Vues:
15
>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.


Hmmm, ok ... that's not what I thought your original question was about (the Title of the post is completely different). But, after reading your post on the link to the forums.asp.net, it was really more about getting the columns to remain at a certain size.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform