应用程序在dailog框中播放视频时崩溃

时间:2015-12-16 11:23:10

标签: android

我想让我的应用在点击按钮的using (MySqlConnection myConnection = new MySqlConnection(constr)) { string oString = "Select * from euser_student WHERE StudCourse=@StudCourse order by StudentFirstName ASC"; MySqlCommand oCmd = new MySqlCommand(oString, myConnection); oCmd.Parameters.AddWithValue("@StudCourse", StudCourse); myConnection.Open(); using (MySqlDataReader oReader = oCmd.ExecuteReader()) { if (oReader == null || !oReader.HasRows) { ScriptManager.RegisterStartupScript(this, typeof(Page), "alert", "alert('No Student Found')", true); } else { while (oReader.Read()) { } } myConnection.Close(); } } 中播放视频。

按下按钮时,会出现一个新的dailog框,表示无法播放此视频

MainActivity

DialogBox

0 个答案:

没有答案