OnServerClick using a void in codebehind
piece of code...
SqlDataReader myReader =null; SqlCommand myCommand =new SqlCommand("SELECT * FROM songs", myConnection); myReader = myCommand.ExecuteReader(); while(myReader.Read()) { sb.Append("</tr><td><form runat='server'>" + myReader["titel"].ToString() + "</td><td><input type='submit'OnServerClick='qu(1,1)' runat='server'></td></tr>"); } |
this generates a table with a column of songtracks and a column of buttons. When the button is clicked, I want it to excecute a void.
question1: is it possible for this void to be located in the codebehind file
question2: is it possible to send parameters (like in the example above).
you're help would be much appreciated

