Solved

FORMAT Propert of Datagrid ColumnStyle

Posted on 2004-09-02
4
476 Views
Last Modified: 2012-06-21
I am using the DataGridColumnStyle Collection Editor

What would I put in the FORMAT field to make a boolean into a CHECKBOX...currently it displays TRUE/FALSE.

What would I put in the FORMAT field to make a datetime SQL to display dd-mmm-yyyy instead of dd/mm/yy

Thanks for you help!
0
Comment
Question by:natloz
  • 3
4 Comments
 
LVL 7

Author Comment

by:natloz
ID: 11968681
I figured out the second part...just typed dd-MMM-yyyy into the format field...
Just need to know the first part...
0
 
LVL 22

Accepted Solution

by:
Snarf0001 earned 250 total points
ID: 11968923
make it a DataGridBoolColumn instead of a DataGridTextBoxColumn
0
 
LVL 7

Author Comment

by:natloz
ID: 11972426
How do you do that? I am using the DataGridColumnStyle Collection Editor.
0
 
LVL 7

Author Comment

by:natloz
ID: 11972804
Found it...thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unable  to create new object 9 38
scanning dentists xray (the small ones) 3 43
Receiving a string from a WebService Push 21 36
Help with AsEnumerable(), LINQ 4 22
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now