did u fill the dataset with the schema before filling it with the data?

nameOfDataAdapter.fillschema(dataset1, SchemaType.Source)

try that if you haven't got it.