Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: Problem reading from a DataSet


Message #1 by "Juan Camilo Latorre" <FightingMonk@h...> on Thu, 22 Nov 2001 14:46:20
Hello.

The problem is the following:

We read from a database and put the results in a DataSet 

object. In another part, we open that DataSet and begin 

reading the values for a specific column. But when the 

value is null, we get an error. We have taken a look to 

the XML version of the DataSet and have found that when 

the value is null in a certain row, there is no element 

created for the column in the row. Is there a way to make 

the XML to have an empty element for the null values, or, 

if that can't be, how can we determine that a given row 

has a null value in a certain column  before trying to 

manipulate that value?

Thanks in advance. Bye.


  Return to Index