Welcome to Dream.In.Code
Become an Expert!

Join 150,422 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,089 people online right now. Registration is fast and FREE... Join Now!




paging in Gridview

 
Reply to this topicStart new topic

paging in Gridview, i got an error 'pageindex' is not a member of 'System.Web.

sanjai,malani
24 Mar, 2008 - 10:35 PM
Post #1

New D.I.C Head
*

Joined: 24 Mar, 2008
Posts: 1

Error 'pageindex' is not a member of 'System.Web.UI.WebControls.DataGrid'.

User is offlineProfile CardPM
+Quote Post

alsa7er
RE: Paging In Gridview
25 Mar, 2008 - 03:26 AM
Post #2

New D.I.C Head
*

Joined: 25 Mar, 2008
Posts: 1

you have give the datagrid un corecte data which is pageindex

So u must give it data source a data set
like this


data_adapter1.Fill(data_set, "custamer")
Me.DataGrid1.DataSource = data_set
Me.DataGrid1.DataMember = "custamer"
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Paging In Gridview
25 Mar, 2008 - 07:41 AM
Post #3

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Well PageIndex is definitely a property of the GridView Class. You need to show us how you're attempting your paging so we can better help you smile.gif


Moved to ASP.Net smile.gif

This post has been edited by PsychoCoder: 25 Mar, 2008 - 07:42 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 08:29PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month