Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / February 2008

Tip: Looking for answers? Try searching our database.

Flash Movie

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vimal.424@gmail.com - 07 Feb 2008 12:19 GMT
Dear All,
Please help me.........
Please tell me how can we store the flash movie in data base,after
storing how can we retreive flash movie from data base.
I want have to do, also  the preview the flash movie before save in
database..............

thanks in advance
Peter Bromberg [C# MVP] - 07 Feb 2008 12:33 GMT
I suspect it will be a lot easier if you store your Flash movies on the
filesystem, and store only the path to each movie in the database. That way
you can point your Flash object / embed tag at a real file after you
determine from the database which one to serve.

However, if you want to go that route you can point the Flash object tag to
an ASHX handler that gets the movie from the database by name or ID and
binary writes it to the Response output stream.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com 

> Dear All,
> Please help me.........
[quoted text clipped - 4 lines]
>
> thanks in advance
Ignacio Machin ( .NET/ C# MVP ) - 07 Feb 2008 14:28 GMT
Hi,

I would suggest that you store the movies in the filesystem, if you are
uploading them, you should rename it with an auto generated name and store
the combination of  (paht\new name) and original name in the DB.

If you still need to store it, you have to use a SqlCommand with a parameter
of type Binary.
If you need more code make a search of how to store images in a DB, it's the
same code

Signature

Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.

> Dear All,
> Please help me.........
[quoted text clipped - 4 lines]
>
> thanks in advance

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.