سؤال

My task is to get a gridview's pageIndex and store them in a variable with adding one(1) to it

 var i=gridview.PageIndex +1

Is there any solution?

هل كانت مفيدة؟

المحلول

Try the following code

i = parseInt("<%=gridView.PageIndex %>")+1;
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top