PC Review


Reply
Thread Tools Rate Thread

How to get real datacolumn type?

 
 
neomat8
Guest
Posts: n/a
 
      24th Feb 2004
Hi,

I'm trying to get a DataColumn type (VB.Net + Framework 1.1).
The property DataColumn.DataType is supposed to return dotNet
framework type. But no matter what is the real type of the DataColumn,
all I get is System.RuntimeType.
I'll really apreciate a tip to solve this problem.

Thanks.

Sincerely,

Neomat8
 
Reply With Quote
 
 
 
 
Patrice Scribe
Guest
Posts: n/a
 
      24th Feb 2004
What is the code you are using ? It looks like you are retrieving the type
of the DataType property. Try DataType.Name...

Patrice
--

"neomat8" <(E-Mail Removed)> a écrit dans le message de
news:(E-Mail Removed)...
> Hi,
>
> I'm trying to get a DataColumn type (VB.Net + Framework 1.1).
> The property DataColumn.DataType is supposed to return dotNet
> framework type. But no matter what is the real type of the DataColumn,
> all I get is System.RuntimeType.
> I'll really apreciate a tip to solve this problem.
>
> Thanks.
>
> Sincerely,
>
> Neomat8


 
Reply With Quote
 
 
 
 
neomat8 neomat8
Guest
Posts: n/a
 
      24th Feb 2004
Thanks.
It works fine. Thanks again.

Sincerely,

Neomat8





*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
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
How can i get the correct value of DataColumn.MaxLength wjg Microsoft ADO .NET 2 31st Oct 2008 07:57 AM
binding datacolumn to another datacolumn in a datagrid bpdace Microsoft C# .NET 0 23rd Nov 2005 04:59 PM
How to add a datacolumn which points to another datacolumn Programatix Microsoft ADO .NET 1 30th Jan 2005 05:12 PM
How can you get past DataColumn.Expression G Microsoft ADO .NET 1 6th Nov 2003 07:30 PM
Get Original-Value of an DataColumn? Daniel Barisch Microsoft ADO .NET 2 24th Jul 2003 10:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:11 AM.