need help immediatly

  • Thread starter Thread starter tushardave
  • Start date Start date
T

tushardave

HI,

I am subscriber of these group and i need immediate help for my problem

My problem as under

I am using Asp.net "aspx" and Database is oracle 10g

I am storing a "jpeg","jpg","img" all image file in to database using
asp.net application
and also read it from database and view in the aspx page- these done
successfully

but now i face the problem that i have to store a different format file
like "word file"
,"mpeg" ".dmp" and also any format that i want to store in database
and

view it to its original format as it store.
how can i do?


i am using "asp.net " code behind " aspx.vb" and db is oracle 10g


please sent me code or any kind of help on my id
-"(e-mail address removed)"

also cc to "(e-mail address removed)"


thanks in advance to all user of these groups


i hope all members try to help me , thanx
 
i hope all members try to help me

Thats a lot of help....
I usually store file name with my binary data. When I decode the data
and save it to file, I use the file name associated with it in the
database.
So as long as you also save "blah.doc" or "blah.jpg" or "blah.sln" then
the file associations will work when the user downloads/opens the file.

Steve
 
Steven said:
Thats a lot of help....
I usually store file name with my binary data. When I decode the data
and save it to file, I use the file name associated with it in the
database.
So as long as you also save "blah.doc" or "blah.jpg" or "blah.sln" then
the file associations will work when the user downloads/opens the file.

Steve

You'd also want to set the MIME type accordingly. Other than that,
storing any file in a DB is no different...
 
Hi,

tushardave said:
HI,

I am subscriber of these group and i need immediate help for my problem

as everybody else I think :)

view it to its original format as it store.
how can i do?

Exactly the same way, you would only have to store the extension as this
will be provided to the client browser for it to select the correct viewer.
i am using "asp.net " code behind " aspx.vb" and db is oracle 10g

note that this is a C# group, the code you will receive is not in VB !
please sent me code or any kind of help on my id
-"(e-mail address removed)"

also cc to "(e-mail address removed)"

better you check back here
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top