Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / December 2004

Tip: Looking for answers? Try searching our database.

DataGridBoolColumn trueValue/falseValue bug?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 07 Dec 2004 12:41 GMT
Hi, I have set & atached 2 datagridboolcolumns to a datagrid <- dataset;
when i fill the ds from server with data
the AllowNull, TrueValue, FalseValue dont work; i get the columns half
checked instead of checked/unchecked

from server the values are true/false
locally i set the default values to true/false;

when i build the ds locally, everything's well..

can someone help me out?

Thank you,
Daniel
Dave Hall - 30 Dec 2004 06:44 GMT
Try different combinations of these settings. I found that the String
version worked when others wouldn't.

' as String
DataGridBoolColumn1.FalseValue = "0"
DataGridBoolColumn1.TrueValue = "1"

'or as Integer
DataGridBoolColumn1.FalseValue = 0
DataGridBoolColumn1.TrueValue = 1

'or as Boolean
DataGridBoolColumn1.FalseValue = False
DataGridBoolColumn1.TrueValue = True

> Hi, I have set & atached 2 datagridboolcolumns to a datagrid <- dataset;
> when i fill the ds from server with data
[quoted text clipped - 10 lines]
> Thank you,
> Daniel

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.