What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 30226 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > Gridview Page Change ...
Britsouls

Gridview Page Change

Replies: 3 | Posted by: Britsouls on 7/3/2012 | Category: ASP.NET Forums | Views: 413 | Status: [Member] | Points: 10  


hi, its very urgent.
in gridview first row value is 0
what is the row value on 2nd page of gridview, when allowpaging is true.
i want to extend row value on 2nd page..is it possible?


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Muralidosscm
Muralidosscm  
Posted on: 7/3/2012 7:44:56 AM
Level: Starter | Status: [Member] | Points: 25

It is possible............

Regards
Muralidoss M

Britsouls, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Britsouls
Britsouls  
Posted on: 7/3/2012 7:46:02 AM
Level: Starter | Status: [Member] | Points: 25

how can i do.plz explain me..

Britsouls, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muralidosscm
Muralidosscm  
Posted on: 7/3/2012 8:06:54 AM
Level: Starter | Status: [Member] | Points: 25

First get the value from the backend to the datatable........... like

DataTable dt = new DataTable();
dt=// your database table value.

DataColumn DC1 = new DataColumn("lbl_AutoID");
DC1 .AutoIncrement = true;
DC1 .AutoIncrementSeed = 1;
DC1 .AutoIncrementStep = 1;

dt.Columns.Add(DC1 );

Then bind the datatable values to the gridview
gridview.datasource =dt
gridview.databind();


dont copy this code because im directly wrote there........


Regards
Muralidoss M

Britsouls, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 3:24:18 AM