내 asp.net webform에 gridview가 있습니다. 내가 2 페이지 누르면 allowPaging = true
allowPaging = true 일 때 gridview 오류 - asp.net
의 쇼 데이터를 그리드에,하지만 .. :
내가 이렇게 GRIDVIEW 내 데이터베이스에 바인딩 :SQL = "SELECT id,Fname,Lname FROM MEN";
dsView = new DataSet();
adp = new SqlDataAdapter(SQL, Conn);
adp.Fill(dsView, "MEN");
adp.Dispose();
GridView1.DataSource = dsView.Tables[0].DefaultView;
GridView1.DataBind();
를이 내가이있는 gridview에 넣어 3 ..
그리고 난이 오류가있어 : 사전에
The GridView 'GridView1' fired event PageIndexChanging which wasn't handled.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: The GridView 'GridView1' fired event PageIndexChanging which wasn't handled.
감사
감사! 나는 그것을 시도하고 오류는 없지만, 다음 10 ... 20 .... 기록을 보여주는 방법? – Gali
게시 한 코드는 데이터 바인딩을 수행합니다.이를 메소드에 넣고 이벤트에서 호출합니다. – kd7
나는 이것을 시도한다 - 그러나 나는 같은 기록을 본다. 다음 10.20 .. 기록이 없다. – Gali