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