pls help me on my first dotnet project

Status
Not open for further replies.

pavarathy

Broken In
Hello frnds.
i am a newbie to .Net technology.
i want to study that.
But while doing c#.net i have some problems that need ur techies advice


I can save images to database as binary.
But the control image in .Net IDE requires a imageurl.
how can i take image url from database.
or how can i display an image which is stored in database?

pls help me.
thanks in advance
 

gaurav_indian

CG Artist
Dont store images in the database.Store them in one folder.Make a field in database for ex:- "webimages" then in database coding set the default path to C:/imagefoldername/webimages
 
OP
pavarathy

pavarathy

Broken In
^^ thank u frnd for reply.
but is this possible to link image stored in database to image control?
 

piyush gupta

Cyborg Agent
Why storing images in Database
store them on folder and makea table in databse about images name path and extension

not u can pass this path in Image Control
 

amitava82

MMO Addict
pavarathy said:
^^ thank u frnd for reply.
but is this possible to link image stored in database to image control?

yes its possible to link. you can also store image data to database. i did it with VB.net (visual studio 2005). dont know the codes for C. go through MSDN. you will get the syntax.

if you use visual studio 2005 then you don't need to write any code. create sql table. then drag n drop the table to a form. visual studio will automatically create all the necessary controls including image control for image. its very easy. :)
 
Status
Not open for further replies.
Top Bottom