|
Hi all,
In my appln' i want to play audioe/video file .
It is like the file is converted to binary format and saved in MSSQL 2005 database.
I saved file extension like(.mp3,.wav,.dat,.mpg) and file in binary form
any help is appreciatable
All I ever wanted is what others have....
CrazySanker
|
|
|
|
|
You can specify the url of a web page or a http handler for the media player and then you put your code to read the media file from DB to send out to the client in the web page/handler.
|
|
|
|
|
I don't have any sample code right here in my hand, but you might want to search on the net or write your own as it's simple enough. Basically, you normally use the media file ending with .mp3, .wav ...., to feed the media player, but now you specify a web page, say download.aspx instead (perhaps along with the id of the media file in the query string). Then in the download.aspx file, you just write some code to query the selected media file contents from DB based on the id passed in the query string. You finally write out the binary data to the Response object and that's it.
|
|
|
|
|
Thanq for ur valuable reply to my previous question.
My problem is "in asp.net,in calendar webcontrol,let us say for weekend days of everymonth should not be postback i.e u cannot perform click event on the weekend days or on particular date of particular month.
Neelima
|
|
|
|
|
You can use the DayRender event of the control and check if the day(e.Day ) is weekend or a particular day in a month.
|
|
|
|
|
Hi,
I am doing a asp.net app.My backend is MS-Access.Plaes send me the code to bring a access data base record to the DropdownList. Eg:To list all employee_names in a table to DropownList.
Praveen.K
System Engineer
Graviton Technologies Pvt.Ltd
|
|
|
|
|
Hi Praveen
if you are using .net 2.0,
You either use datareader and attach that with the dropdownlist (.net 1.1 and .net 2.0) OR create a acces datasource and attach it with the dropdown list...
Krishna Kumar
Kk
|
|
|
|
|
Sir that attaching code i am asking,My data base is attached to the page using oledb connection.Now on loading the page i want to display the data base records on the DropdownList
Praveen.K
System Engineer
Graviton Technologies Pvt.Ltd
|
|
|
|
|
Hi ..Try this..dont forget to include System.Data.OleDb namespace
OleDbConnection con= new OleDbConnection("Place your connection string here");
string sql="select id,name from users";
OleDbCommand sqlcmd = new OleDbCommand(sql,con);
con.Open();
DropDownList1.DataSource= sqlcmd.ExecuteReader(CommandBehavior.CloseConnection);
DropDownList1.DataTextField = "name";
DropDownList1.DataValueField = "id";
DropDownList1.DataBind();
Kk
|
|
|
|
|
sir,
What the "name" and "id" reprecents....Because both are bringing to the same dropdown list..
Praveen.K
System Engineer
Graviton Technologies Pvt.Ltd
|
|
|
|
|
Name is the test .. which will be displayed in the dropdown .. and id is the value which will be stroed internally...
Kk
|
|
|
|
|
sorry for the mistake...
Name is the text (and not test) .. which will be displayed in the dropdown .. and id is the value which will be stroed internally...
Kk
|
|
|
|
|
hi all,
can any one help me for handling files in asp.please help its urgent
|
|
|
|
|
You import System.IO namespace.. and use File object to handile files and Directory object to handile directory..
Kk
|
|
|
|
|
HI
You have system.IO namespace in dot net using that you can do what you want but What you want to do with file means read/write/append/update/delete ?
|
|
|
|
|
|
Hi,
i have one server side text box, in that textbox we enter to enter the amount but while entering the amount after decimal point it needs to take only two values.But right now it is taking any number of values. Let me know how to do the validation that textbox needs to take only two values after decimal.
Regards
Dayakar D.N
|
|
|
|
|
hi,
take a look at
RegularExpressionValidator Class[^]. Let me know if something isn't clear
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
Hi all,
I have created deployment for an application in which I put a folder named Pics. In this folder I put some images. Can anybody tell me when I am deploying it I need this folder to be included in virtual directory which is being created automatically. Means this Pics folder and images in it must be included automatically in the created virtual directoy automatically.
And actually when I was creating the deployment, I have selected the Pics folder too in it. Still it is not being included when I am deploying it in the server machine. Please tell me all the details clearly. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
When you add the pictures, in the properties window, do you set them to be included in the project ? I know you need to do that for resources.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
No, may be I might have not tried in that way. I will try and if you can, then provide me step by step process. But do it if you can only. Otherwise give me some more details. Thank you.
Regards.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi all
I have a datagrid, which holds item name, item price, and its image(all from SQL Server database), what I need is when the user clicks on the image, I need the (id) for the item to be carried to the new page where I want to show more details about the item (expiry date, ...)
give me a sample code please..
regards
|
|
|
|
|
Hi All,
Can any one help me in the coding of IPN (Instant Payment Notification) for Paypal. I want to update my database with the help of a variable named "custom". I send Order_ID in that variable in the FORM. In IPN Email I found its value is correct as I send. But When I tried to UPdate my Database with the Help of that variable I found that its value is 0. In IPN Page Load Event I tried to get its value with Request.QueryString("custom"), then I tried to Update DB, but its value was 0. Can any one help me. Paypal does not help in ur coding.
Thanks in Advance.
Khan Bangash
|
|
|
|
|
Hi All,
I had to change the color of a dropdownlist's selected item. So i made it an html control "<Select id=ctl name=ctl runat=server>".That was working fine.
But based on this dropdownlist i had to populate another dropdownlist.
I want the items of the second ddl to change based on the selection in the first ddl on the change event.
Can anyone help me out with this?
Thanks in advance.
Regards,
Jeeva
|
|
|
|
|
you can write onchange event for select in javascript
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
|
|
|
|