Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Behavior Of DataGridView
Message
 
À
27/05/2007 19:27:01
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01225269
Message ID:
01232228
Vues:
20
Bah! Thank you! :-) Gotta love how there are more then one set of properties that should theoretically do the same thing.

>>That would defeat the purpose. Without it, the grid is not formatted as I need.
>
>Yeah, you're right ... sorry, I don't use the DGV all that much.
>
>But, I looked into it and you're using the wrong property to set the style. Try the DefaultCellStyle.Format instead:
>
>
>this.dataGridView1.Columns["DOB"].DefaultCellStyle.Format = "MM/dd/yyyy";
>
>
>~~Bonnie
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform