Click here to Skip to main content
15,919,341 members
Home / Discussions / Database
   

Database

 
GeneralRe: Hold on there skippy [modified] Pin
Frank Kerrigan18-Jul-06 3:54
Frank Kerrigan18-Jul-06 3:54 
GeneralRe: Hold on there skippy Pin
Frank Kerrigan18-Jul-06 3:55
Frank Kerrigan18-Jul-06 3:55 
GeneralRe: A combined approach Pin
S Douglas23-Jul-06 21:17
professionalS Douglas23-Jul-06 21:17 
QuestionDataSet WriteXml -> ReadXml loses NULL values Pin
Ashley van Gerven17-Jul-06 2:24
Ashley van Gerven17-Jul-06 2:24 
AnswerRe: DataSet WriteXml -> ReadXml loses NULL values Pin
Ennis Ray Lynch, Jr.17-Jul-06 3:22
Ennis Ray Lynch, Jr.17-Jul-06 3:22 
GeneralRe: DataSet WriteXml -> ReadXml loses NULL values Pin
Ashley van Gerven17-Jul-06 3:43
Ashley van Gerven17-Jul-06 3:43 
GeneralYeah but Pin
Ennis Ray Lynch, Jr.17-Jul-06 3:55
Ennis Ray Lynch, Jr.17-Jul-06 3:55 
GeneralRe: Yeah but Pin
Ashley van Gerven17-Jul-06 4:10
Ashley van Gerven17-Jul-06 4:10 
Ennis Ray Lynch, Jr. wrote:
Specified attribute or element?

  Not sure what you mean by this... but I don't think so. The schema has this:

<xs:element name="TxnID" type="xs:long" minOccurs="0" />

Now normally for each row you would get the values- e.g.: <TxnID>2</TxnID>

But if it's NULL you don't get this element. And then when reading it into a DataSet it will automatically have the value: 0 - which is not what the original dataset had.

The solution seems to be to read the schema, set a default value, and then read the data. But is there a simpler solution? Is this a bug, or intentional behaviour by microsoft experts? .NET 2.0 seems to have the same behaviour.


"Nothing ever changes by staying the same." - David Brent (BBC's The Office)
 ~ ScrollingGrid: A cross-browser freeze-header control for the ASP.NET DataGrid
GeneralIf I use XSD.exe I get Pin
Ennis Ray Lynch, Jr.17-Jul-06 4:27
Ennis Ray Lynch, Jr.17-Jul-06 4:27 
GeneralRe: If I use XSD.exe I get Pin
Ashley van Gerven17-Jul-06 4:43
Ashley van Gerven17-Jul-06 4:43 
GeneralThats what I think Pin
Ennis Ray Lynch, Jr.17-Jul-06 4:45
Ennis Ray Lynch, Jr.17-Jul-06 4:45 
QuestionQuery to Transfer Data? Pin
MudkiSekhon17-Jul-06 1:06
MudkiSekhon17-Jul-06 1:06 
AnswerRe: Query to Transfer Data? Pin
Colin Angus Mackay17-Jul-06 1:28
Colin Angus Mackay17-Jul-06 1:28 
QuestionAdditonal Data for SQL Server Login/User Pin
dobrzan16-Jul-06 21:51
dobrzan16-Jul-06 21:51 
AnswerRe: Additonal Data for SQL Server Login/User Pin
Colin Angus Mackay16-Jul-06 23:05
Colin Angus Mackay16-Jul-06 23:05 
GeneralRe: Additonal Data for SQL Server Login/User Pin
dobrzan17-Jul-06 4:09
dobrzan17-Jul-06 4:09 
GeneralRe: Additonal Data for SQL Server Login/User Pin
Colin Angus Mackay17-Jul-06 5:22
Colin Angus Mackay17-Jul-06 5:22 
GeneralRe: Additonal Data for SQL Server Login/User Pin
dobrzan17-Jul-06 20:47
dobrzan17-Jul-06 20:47 
GeneralRe: Additonal Data for SQL Server Login/User Pin
Colin Angus Mackay17-Jul-06 22:18
Colin Angus Mackay17-Jul-06 22:18 
QuestionHow to convert diagrams to SqlServer 2005? Pin
Reza Raad16-Jul-06 21:46
Reza Raad16-Jul-06 21:46 
AnswerRe: How to convert diagrams to SqlServer 2005? Pin
Colin Angus Mackay16-Jul-06 23:01
Colin Angus Mackay16-Jul-06 23:01 
GeneralRe: How to convert diagrams to SqlServer 2005? Pin
Reza Raad17-Jul-06 0:03
Reza Raad17-Jul-06 0:03 
QuestionWhy can't use 2 DataReader with same connection Pin
Heinz_16-Jul-06 21:41
Heinz_16-Jul-06 21:41 
AnswerRe: Why can't use 2 DataReader with same connection Pin
Colin Angus Mackay16-Jul-06 23:00
Colin Angus Mackay16-Jul-06 23:00 
GeneralRe: Why can't use 2 DataReader with same connection Pin
Heinz_17-Jul-06 9:26
Heinz_17-Jul-06 9:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.