Bug #36362 | Cannot get Maxlength from Column after DataAdapter.Fill method | ||
---|---|---|---|
Submitted: | 27 Apr 2008 8:32 | Modified: | 29 Apr 2008 13:53 |
Reporter: | Anson Chapman | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 5.2 Connector/Net | OS: | Windows (XP - SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | dataadapter, dataset, DataTable |
[27 Apr 2008 8:32]
Anson Chapman
[29 Apr 2008 13:53]
Reggie Burnett
This is not a bug. The data adapter in this case will only call MySqlDataReader.GetSchemaTable when FillSchema is called otherwise it just jams the data into the table. This makes sense. Most of the time you just care about the data and, when you do care about the schema, you just call FillSchema.