Click here to Skip to main content
15,890,506 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to increment Application Object in Global.asax file Pin
Abhijit Jana21-Jul-09 1:27
professionalAbhijit Jana21-Jul-09 1:27 
AnswerRe: how to increment Application Object in Global.asax file Pin
Abhishek Sur21-Jul-09 2:52
professionalAbhishek Sur21-Jul-09 2:52 
GeneralRe: how to increment Application Object in Global.asax file Pin
QuickDeveloper21-Jul-09 19:45
QuickDeveloper21-Jul-09 19:45 
QuestionIssue with HttpWebResponse Pin
dews turner21-Jul-09 0:13
dews turner21-Jul-09 0:13 
AnswerRe: Issue with HttpWebResponse Pin
N a v a n e e t h21-Jul-09 0:22
N a v a n e e t h21-Jul-09 0:22 
GeneralRe: Issue with HttpWebResponse Pin
dews turner21-Jul-09 1:48
dews turner21-Jul-09 1:48 
QuestionCrystal Report Binding To the Own Created DataSet Pin
HatakeKaKaShi21-Jul-09 0:13
HatakeKaKaShi21-Jul-09 0:13 
QuestionHow do i play audio stored in Database on my asp.net webpage Pin
DotNetCoderJunior20-Jul-09 23:51
DotNetCoderJunior20-Jul-09 23:51 
Hi I'm trying to play audio on my webpage directly from the databse, can anyone help me with the code for my method: playAudio(byte[] stream), please see my code bellow.
thanks n advance


<pre>string sql = @"Select AudioFile from tbDeviceResults where DialResultID = @ID";<br />
        SqlConnection oCon = new SqlConnection(DatabaseConnection.ConnectionString);<br />
        SqlCommand cmd = new SqlCommand(sql, oCon);<br />
        cmd.CommandType = CommandType.Text;<br />
        cmd.Parameters.AddWithValue("@ID", ID);<br />
        DataTable tblData = new DataTable();<br />
        try<br />
        {<br />
            new SqlDataAdapter(cmd).Fill(tblData);<br />
            foreach (DataRow row in tblData.Rows)<br />
            {<br />
                stream = (byte[])row["AudioFile"];<br />
                playAudio(stream);<br />
            }<br />
        }<br />
        catch (Exception ex)<br />
        {<br />
<br />
          <br />
        }<br />
 void playAudio(byte[] stream)<br />
    {<br />
<br />
    }<br />
<br />
</pre>

AnswerRe: How do i play audio stored in Database on my asp.net webpage Pin
Manas Bhardwaj20-Jul-09 23:58
professionalManas Bhardwaj20-Jul-09 23:58 
Questionmail from asp.net1.1 Pin
Kissy1620-Jul-09 23:47
Kissy1620-Jul-09 23:47 
AnswerRe: mail from asp.net1.1 Pin
Christian Graus20-Jul-09 23:50
protectorChristian Graus20-Jul-09 23:50 
GeneralRe: mail from asp.net1.1 Pin
Kissy1621-Jul-09 0:15
Kissy1621-Jul-09 0:15 
GeneralRe: mail from asp.net1.1 Pin
Manas Bhardwaj21-Jul-09 0:28
professionalManas Bhardwaj21-Jul-09 0:28 
AnswerRe: mail from asp.net1.1 Pin
Manas Bhardwaj21-Jul-09 0:04
professionalManas Bhardwaj21-Jul-09 0:04 
GeneralRe: mail from asp.net1.1 Pin
Kissy1621-Jul-09 0:16
Kissy1621-Jul-09 0:16 
GeneralRe: mail from asp.net1.1 Pin
Christian Graus21-Jul-09 10:18
protectorChristian Graus21-Jul-09 10:18 
QuestionInterview Questions Pin
siddisagar20-Jul-09 22:59
siddisagar20-Jul-09 22:59 
AnswerRe: Interview Questions Pin
Christian Graus20-Jul-09 23:03
protectorChristian Graus20-Jul-09 23:03 
AnswerRe: Interview Questions Pin
Manas Bhardwaj20-Jul-09 23:17
professionalManas Bhardwaj20-Jul-09 23:17 
AnswerRe: Interview Questions Pin
Brij20-Jul-09 23:20
mentorBrij20-Jul-09 23:20 
Questionweb.config help Pin
KhandelwalA20-Jul-09 21:57
KhandelwalA20-Jul-09 21:57 
AnswerRe: web.config help Pin
Abhijit Jana20-Jul-09 22:01
professionalAbhijit Jana20-Jul-09 22:01 
GeneralRe: web.config help Pin
KhandelwalA20-Jul-09 22:02
KhandelwalA20-Jul-09 22:02 
AnswerRe: web.config help Pin
Christian Graus20-Jul-09 22:27
protectorChristian Graus20-Jul-09 22:27 
QuestionINSERT QUERY Pin
sachees12320-Jul-09 21:46
sachees12320-Jul-09 21:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.