Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

FORMAT Propert of Datagrid ColumnStyle

Posted on 2004-09-02
4
Medium Priority
?
507 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 23

Accepted Solution

by:
Snarf0001 earned 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

783 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