#20 using FillSchema to get table columns

closed-fixed
Mic
None
5
2005-02-12
2004-12-13
No

When I use:
Fill(...) with "select * from table where 0 = 1"
columns are initialized properly. I mean MaxLength for
text columns is set to -1.

But using:
FillSchema(...) with "select * from table"
causes a problem - MaxLength is set to 0, so it's
impossible to add rows to table because text is
exceeding maximum length and DataTable doesn't allow
to add such row.

Discussion

  • Mic

    Mic - 2005-02-12

    Logged In: YES
    user_id=912072

    This has been checked into cvs.

     
  • Robert Foster

    Robert Foster - 2005-02-12
    • assigned_to: nobody --> szumic
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks