I am using C# & MYSQL to develop a desktop application.
In one of my form I have a DataGridView
(dgvBookings) and in my database table I have a table tblBookings which contains a field specialization
of type BLOB
.
I am selecting data with following query,
SELECT * FROM tblBookings WHERE IsActive=1;
and then binding the data with DataGridView as,
dgvBookings.DataSource = ds.Tables["allbookings"];
BUT after binding the data in gridview it shows Byte[] Array
value for all rows of column specialization
which is of BLOB type.
How yo solve this problem, I want the data in String format, whatever is written in that column should be show as it is there in the grid.