Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-03-2007, 09:52 PM   #1 (permalink)
Right Off the Assembly Line
 
pavarathy's Avatar
 
Join Date: Oct 2006
Posts: 17
Arrow pls help me on my first dotnet project


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
pavarathy is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-03-2007, 10:15 PM   #2 (permalink)
CG Artist
 
gaurav_indian's Avatar
 
Join Date: May 2006
Location: New Delhi,India
Posts: 1,462
Default Re: pls help me on my first dotnet project

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
gaurav_indian is offline  
Old 03-03-2007, 10:25 PM   #3 (permalink)
Right Off the Assembly Line
 
pavarathy's Avatar
 
Join Date: Oct 2006
Posts: 17
Default Re: pls help me on my first dotnet project

^^ thank u frnd for reply.
but is this possible to link image stored in database to image control?
pavarathy is offline  
Old 03-03-2007, 10:27 PM   #4 (permalink)
CG Artist
 
gaurav_indian's Avatar
 
Join Date: May 2006
Location: New Delhi,India
Posts: 1,462
Default Re: pls help me on my first dotnet project

Quote:
Originally Posted by pavarathy
^^ thank u frnd for reply.
but is this possible to link image stored in database to image control?
I haven't tried that.
gaurav_indian is offline  
Old 05-03-2007, 04:37 PM   #5 (permalink)
Wise Old Owl
 
piyush gupta's Avatar
 
Join Date: Sep 2005
Location: never land
Posts: 1,284
Default Re: pls help me on my first dotnet project

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
piyush gupta is offline  
Old 06-03-2007, 01:06 AM   #6 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: pls help me on my first dotnet project

Quote:
Originally Posted by pavarathy
^^ 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.
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by abhidev
- by Sarath
- by ico
- by clinton

Advertisement




All times are GMT +5.5. The time now is 02:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2