----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Soumitra2105 Message 3 in Discussion Hi . try this DateTimeFormatInfo d = new DateTimeFormatInfo(); Console.Write(d.GetAbbreviatedMonthName(1).ToString()); it is slightly heavier since you need to use the Globalization namespace as well. HTH Soumitra From: BDOTNET [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 1:05 PM To: [EMAIL PROTECTED] Subject: Formatting a DataGrid to display a Numeric Coloum as String Type New Message on BDOTNET Formatting a DataGrid to display a Numeric Coloum as String Type Reply Recommend Message 1 in Discussion From: Lal_Mohan hi, i m using a DataTable to fill in a DataGrid in C#.NET, i wish to know how to format the output for the datagrid to show a numeric field as a String. For eg My DataBase is like this MonthID WeekID 1 1 2 2 3 3 4 4 and now I am getting display as like this MonthID WeekID 1 1 2 2 3 3 4 4 but insted of this numbers I want to Display like this MonthID WeekID JAN MON FEB YUE MAR WED APR THU Any suggestions would truly be appreciated. View other groups in this category. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
