[Solved] Reading A Fixed Format Text File – Part 3
You have not initialized MyDataTable by a data after instantiation, you have filled in data set but not a data table. So just try out MyDataSet.Tables[0] instead of MyDataTable.AsEnumerable() // DataSet filled in but data table still empty! MyDataAdapter.Fill(MyDataSet,”STUFF”); 1 solved Reading A Fixed Format Text File – Part 3