hello guys... I am trying to play a wave file in a small asp.net project. Now I want to embed HTML in asp.net so that I can use <object> tag of HTML to play the wave file. Following is the code to get row index from gridview, from the row I get file path
<script runat="server">
void OnRowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName.Equals("Play Now"))
{
int index = Convert.ToInt32(e.CommandArgument); //this will get rowid from gridview
GridViewRow row = gridCalls.Rows[index];
txt1.Text = row.Cells[5].Text; // second column in the sql server database
}
}
</script>
what should I do?? thnx