Home > Net >  After the gridview binding data query, the second page display content is not the content of the que
After the gridview binding data query, the second page display content is not the content of the que

Time:09-25

Have bosses can bring with a new, very urgent

CodePudding user response:

SQL statements like the back of the braces removed

CodePudding user response:

1/f, reference to eat farmers' response:
SQL statements like the back of the bracket to remove
is a lot of data after the search, the first page shows the data is normal, but the second page data recovery after into the data binding, not after the search data

CodePudding user response:

refer to the second floor weixin_45903222 response:
Quote: 1/f, reference to eat farmers' response:
SQL statements like the back of the bracket to remove
is a lot of data after the search, the first page shows the data is normal, but after the second page will restore data into data binding, and not after the search data

Paging binding has a problem?

CodePudding user response:

reference ManBOyyy reply: 3/f
Quote: refer to the second floor weixin_45903222 response:

Quote: 1/f, reference to eat farmers' response:
SQL statements like the back of the bracket to remove
is a lot of data after the search, the first page shows the data is normal, but after the second page will restore data into data binding, and not after the search data

Paging binding has a problem?
page I am using the gridview own paging

CodePudding user response:

Fetch the data isn't right, using the gridview own paging? If it's time to flip the debugging, this shouldn't be hard,

CodePudding user response:

Weixin_45903222
reference 4 floor response:
Quote: refer to the third floor ManBOyyy response:
Quote: refer to the second floor weixin_45903222 response:

Quote: 1/f, reference to eat farmers' response:
SQL statements like the back of the bracket to remove
is a lot of data after the search, the first page shows the data is normal, but after the second page will restore data into data binding, and not after the search data

Paging binding has a problem?
page I am using the gridview own paging

Own also want to write code, baidu, also want to write several events

CodePudding user response:

PageIndex_Changed events have to take the second page of the data, the purpose of the page, it is part of part of the data, as for which part, is natural to you some paging button background access (to specify the number of pages, each page shows),

CodePudding user response:

if(! IsPostBack)
  • Related