[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

DataSet.Tables(0).Columns(i).MaxLength didn't works...

Andrés Giraldo

1/8/2003 5:21:00 PM

Hi!

I'm working with Datasets to handle osme SQL Server 200 data, I can obtain
different properties from the Columns object;

I can obtain the column's name: DataSet.Tables(0).Columns(i).ColumnName
I can obtain the column's type: DataSet.Tables(0).Columns(i).DataType

But I can't obtain the size of the field or the presicion... I'm trying to
use DataSet.Tables(0).Columns(i).MaxLength but it didn't works... it gives
me allways -1... somebody could tell me why? or how can I do this?

Thanks!


1 Answer

(Jian-Wei Yu [MS])

1/10/2003 4:35:00 AM

0


Hello,

Thank you for using the Microsoft Newsgroups.

Please refer to:
http://support.microsoft.com/default.aspx?scid=KB;EN...

If you have any questions, please reply to this post.

Regards,

Jian-Wei Yu
Microsoft Support

This posting is provided "AS IS" with no warranties, and confers no rights.