🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database.dotnet
Article #7

DataGridBoolColumn and XML data

#7
From: Brigitte Spatz
Date: Tue, 14 Nov 2006 11:04
15 lines
1604 bytes
I have an XML table that I have read out from a dataset that accesses an 
SQL Server database. Now if I read in that very table and display it in 
a datagrid with an appropriate tablestyle, all the Boolean fields, for 
which I have DataGridBoolColumns, are displayed as grey ticks as if they 
were NULL rather than black ticks or empty (depending on their state). 
The entry in the XML file are like
<somefield>false</somefield>
I have also tried to replace true and false by 1 and 0 but it didn't 
change anything.

How can I get them to display correctly?

TIA.

Brigitte
Technical Details
Message-ID: <4559a2d6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,8744c8711b307c75,start
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 14 Nov 2006 12:04:42 +0100
From: Brigitte Spatz <brigitteNOSPAM.spatz@svenmahn.de>
Organization: Sven Mahn IT-Systementwicklungen
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.database.dotnet
Subject: DataGridBoolColumn and XML data
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 0648-1, 13/11/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 217.189.155.106
Message-ID: <4559a2d6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1163502294 217.189.155.106 (14 Nov 2006 03:04:54 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail