i use a DataGridView with an bound DataTable as DataSource.
Below there is the method to fill the DataTable:
Code: Select all
Using myCommand As New Devart.Data.MySql.MySqlCommand(myQuery, myConnection)
myDataAdapter = New Devart.Data.MySql.MySqlDataAdapter(myCommand)
myDataTable = oDataSet.Tables.Add
myDataAdapter.Fill(myDataTable)
End Using
Why the Data for *text columns is not a string?
In the EF Documentation it is declared as string, why not in a DataTable?
https://www.devart.com/dotconnect/mysql ... pping.html
I don't want do Clone the DataTable and change the DataType for the Columns.
Is there a way to say the MySql Provider to map MySql *text DataTypes to String.
Best Regards