PC Review


Reply
Thread Tools Rate Thread

checking a datarow

 
 
=?Utf-8?B?cm9kY2hhcg==?=
Guest
Posts: n/a
 
      30th Mar 2005
hey all,

i'm using the following expression to check a datarow.

if dr.IsDBNull(10) then
....
end if


is there a way to find out what field each integer represents for the
IsDBNull parameter? because i used trial and error?
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      30th Mar 2005
Rodchar,

Assuming it is the dr.IsNull what is not that important (watch typos)

dr.table.columns(10).columname

I hope this helps,

Cor


 
Reply With Quote
 
=?Utf-8?B?cm9kY2hhcg==?=
Guest
Posts: n/a
 
      1st Apr 2005
Thank you.

"Cor Ligthert" wrote:

> Rodchar,
>
> Assuming it is the dr.IsNull what is not that important (watch typos)
>
> dr.table.columns(10).columname
>
> I hope this helps,
>
> Cor
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking if a DataRow is "empty" mcbobin Microsoft C# .NET 10 1st Nov 2006 11:24 PM
Checking for columns in a DataRow =?Utf-8?B?cmFuZHkxMjAw?= Microsoft C# .NET 3 14th Aug 2006 02:39 PM
Distinguish 2 situations when a DataRow in Detached state; Or why not make the data row intact after being added then removed from a dataRow collection? Ryan Liu Microsoft Dot NET 0 7th Jun 2006 03:04 PM
Distinguish 2 situations when a DataRow in Detached state; Or why not make the data row intact after being added then removed from a dataRow collection? Ryan Liu Microsoft C# .NET 0 7th Jun 2006 02:14 AM
Checking for last row in a datarow maflatoun@gmail.com Microsoft C# .NET 1 28th Mar 2006 07:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:16 PM.