Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Showing image in Radgrid using datatable

I have an image inside the image folder; I want to show that in a RadGrid using a data table which is populated from code behind

How can I achieve this?

like image 917
Roman Atwat Avatar asked Dec 05 '25 18:12

Roman Atwat


1 Answers

DataTable dt = new DataTable();
dt.Columns.Add("Image Column");
dt.Rows.Add("<img src= ../image/image.png   />");
RadGrid1.DataSource = dt;
like image 182
Harminder Avatar answered Dec 07 '25 06:12

Harminder



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!