if (Request.QueryString["vid"] != null) {
frmViedo.DataSource = video.GetVideoById(Convert.ToInt32(Request.QueryString["vid"]));
frmViedo.DataBind();
} public OleDbDataReader GetVideoById(int id) {
string strSelect = "select * from Video where VID = @VID";
return ExecuteReader(CommandType.Text, strSelect, new OleDbParameter[]{
new OleDbParameter("@VID" , id),
}); }
But it don't work and i get this error :
Adobe Flash is disabled for this page, click player area to enable. Why?
I am developing audio related project for that i have stored movie names with mp3 file paths in database I am displaying movie names in grid view after clicking on movie name related mp3 file paths will be display in details view i am unable to play that files in details view how to do this ? Here i am storing original mp3 files in one folder in solution explorer and paths in database
i want to display image which is stored in some folder and its path is stored in database table. i used your link [URL] for the same but i am not storing any thing like data column in my table and have passed name column to Byte[]and so its giving datatype error there. what is the way to convert it to byte?
i want to display image which is stored in some folder and its path is stored in database table. i used your link URL... for the same but i am not storing any thing like data column in my table and have passed name column to Byte[]and so its giving datatype error there.
My requirment is to display all videos by clicking that videos it want to play how to do this .how to add mediaplayer into list view and play the videos.i want to display in this format http://www.youtube.com/results?search_query=sports&aq=f
I want to shore youtube url in to database then want to show video in datalist or gridview by using the url. in datalist there will be video player show.
How to display images in crystal report from database am inserting address (image folder) of images into the database, not inserting images into the database...
i have a folder in server for saving my images and inside database i save the image name , now the issue is i want to display the image in image control in datalist how to do that
I am using asp.net 4.0 with C#. I have a webpage which shows a tabular list and upon clicking any one of it, the path of the swf file is queried to the access database and then the file needs to be played on the same webpage.
i want to use asp media control to show videos stored in database
<asp:MediaPlayer ID="MediaPlayer1" runat="server" Height="240px" Width="320px" MediaSkinSource="~/skins/Basic.xaml"> </asp:MediaPlayer> here i am retereving videos as per videoid using linq ELearnDataContext eld = new ELearnDataContext(); var x = (from a in eld.Videos where a.VideoID== 1 select a).First();
but i don't know how i can use asp.net mediacontrol to show reterieved videos
i use visual studio 2010 i have stored image into sql server in binary format and how to retrive that image(which is in binary format) and display in image contro
In this tutorial when we upload Videos, it will upload in new FlowPlayer window, but I want to retrieve videos from sql server and play in same player window.
i want to display already stored text content (sql server) into asp.net webpage at table format
Now i want to display at table.. alternatively, i want table for gridview. already view at this format. it is gridview..
QaIdQueryAnswer
7 the captain of indian cricket team Mahendra Singh Dhoni Mahendra Singh Dhoni, commonly known as M. S. Dhoni, is an Indian cricketer and the current captain of the Indian national cricket team and the Chennai Super Kings cricket team. Born: July 7, 1981 (age 31), Ranchi Height: 1.75 m Spouse: Sakshi Dhoni (m. 2010) Salary: 3.5 million USD (2012) Education: DAV Jawahar Vidya Mandir, Shyamali Parents: Pan singh, devki devi.
In gridview I have two link button that is "VIEW" and "DOWNLOAD" if I click "view" that pdf file will display in an other page if I click download that file will be downloaded.. how can i do this..