hi!
i take photo(this is one column of my project) datatype is varchar. i insert data to the database that photo imageurl is placed in photo column.
and after i binding the data that image is displayed in datagrid. i think u understand my words.
please helpme and please give a code of this process.
thanks.
Loading
Hirendra SisodiyaPosted Feb 22, 2010, 2:13 AM
Amit ChoudharyPosted Feb 19, 2010, 10:11 AM
you should save just image name in database not the image url. just add the imafe url + image name from database when retrieving.
like Image1.Url='~/conentImage/"+Eval("photo")';
I hope you got some idea from this.