Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 28th, 2005, 02:32 AM
Authorized User
Join Date: Nov 2005
Location: , , United Kingdom.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Boolean True/False to Yes/No

Hi all,
     I'm trying to format a Visual Basic 2003 datagrid for a windows app not asp. this is my format.

     column = New DataGridTextBoxColumn
     column.MappingName = "Paid"
     column.HeaderText = "Paid"
     column.Width = 65

This works perfect.

With my cost column I add the following line so the datagrid know it's a currency column.

     column.Format = "c"

Is there a line like the one above for boolean so that my Paid column reads Yes or No instead of True or False.

I have also tried column.Format = "Yes/No" but this does not work either.


Simplicity is the key
Reply With Quote
  #2 (permalink)  
Old January 21st, 2006, 12:05 AM
Registered User
Join Date: Jan 2006
Location: Wilkes-Barre, PA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Pete,

I don't have the answer, I have the same problem! Did you figure it out yet? If so, please post. I will do the same. Thanks!


Reply With Quote
  #3 (permalink)  
Old February 6th, 2006, 07:58 PM
Authorized User
Join Date: Nov 2005
Location: , , United Kingdom.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts

No I havn't figured it out. I will get back to it soon.



Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is 9:00 > 08:30 true or false? cJeffreywang ASP.NET 2.0 Basics 5 February 3rd, 2008 12:16 AM
boolean value shows true and false in the datagrid debjanib ASP.NET 2.0 Basics 2 March 23rd, 2007 08:38 AM
XSLT - test the value is true or false haixia XSLT 1 August 21st, 2006 01:38 PM
boolean starlightt Java Basics 2 April 6th, 2006 05:34 PM
Yes/No in DB showing True/False in ASP query miller2000 Classic ASP Databases 2 June 17th, 2004 10:36 AM

All times are GMT -4. The time now is 01:57 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.