Hi
I want to retrive all the data on a web page from sql server in asp .Net...In my table i have a image columns...how to select image code from database...Pls help me someone..
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Dec 27, 2009, 1:57 AM
then
Uncheck "Auto Generate Columns"
Add Bound Field Columns in GridView then Set its Header Text Property and DataField Property = "Your Columnname" in Database"
Just Take care that you select Image Field For Column where you have image :) and for ImageField Write Image Column Name in which your Image url is there in ImageURLField property
then Just Bind the Grid with data as you Normally do with code :)
Thats it :)