Dataview, Populate manually not automatically.
Hello,
I am trying to manually populate a Gridview. I can automatically populate it using the code below and it works 100%, but I have a problem. My gridview has an Imagefield. The problem is that I store images in the database using Base64String and that is not changable under any circumstances.
I know by using html and the 'base64' statement it is possible to display the image data, i've done it before.
I presume that there is not way for an Imageview to display a 'base64' saved image without converting it to an image first. Avery image is different.
Can anybody please help me. Any code would be greatful.
Thank you.
** AUTO LOAD DATAVIEW **
Con = New Data.OleDb.OleDbConnection("Provider=Microsoft.Jet .OleDb.4.0;data source=" & Database & "")
Com = New Data.OleDb.OleDbCommand(SQl, Con)
Adapter = New Data.OleDb.OleDbDataAdapter(Com)
DataSet = New Data.DataSet
Adapter.Fill(DataSet)
GridView1.DataSource = DataSet
GridView1.DataBind()
Con.Close()
Simplicity is the key
__________________
Simplicity is the key
|