Implementing custom paging with gridview like 1.2.3.>>>>>>>>>Next with stored proc output

ALTER PROCEDURE [dbo].[sp_GetGriddata] 

@MeetingID INT ,

@Orderby VARCHAR(50) = 'FileName ASC',

 

-- Parmeters for Paging [Start]

@TotalPages INT OUT,

@CurrentPageNumber INT OUT,

@NumberOfRecords INT = 5 , /*PageSize*/

@CurrentPage INT = NULL /*PageNumber*/

-- Parmeters for Paging [End]

AS

My stored proc as above parameters

it returns the output as specied in above out parameters

Pls explain how i can apply paging  1.2.3>>>>>>>>>Next  like

in gridview with above output

0
Swati
4/10/2008 3:29:54 PM
asp.net.presentation-controls 72751 articles. 3 followers. Follow

1 Replies
728 Views

Similar Articles

[PageSpeed] 38

Hi Swati Jain:

           In GridView you can write your own pagetemplate and it can meet lots of situations. Here is the link:

           http://forums.asp.net/t/1235573.aspx

           If you want to write pager class by yourself, hope these links help:

           http://www.dotnetindex.com/read.asp?articleID=40

           http://www.dotnetjunkies.com/Article/07FB766A-35F2-4691-923A-D5F1BA3A12DD.dcik

Karl


Click "Mark as Answer" on the post if the answers help

Click "Unmark as Answer" if you need more direction

Thank you for your cooperation
0
Karl
4/12/2008 5:54:29 AM
Reply:

Similar Artilces:

ERROR >>>>>>>>>>>master page
can any budy give me an answer of given question this question is ask in interview we have an usercontrol in .net 1.0,1.1 why microsoft implimented the masterpage concept in 2.0 as work done by master page is same as usercontrol do   can any budy gives mw an ans -----------why we use master pages........???????? Friend, this article explains you why do we use the master pages http://dotnetperls.com/Content/Master-Page-Code-Behind.aspx and this one http://www.careerride.com/ASP.NET-Master-Pages-Questions.aspx Good luck!Please Don't forget to click "Mark as Answer&quo...

Fox 3 Beta 5 >>>>>>>
Name: Hank Hill Product: Firefox Summary: Fox 3 Beta 5 >>>>>>> Comments: Wooosh! Love what it does. Faster than anything. I look forward to more. Thank you. From URL: http://hendrix.mozilla.org/ ...

HELP>>HELP>>>
The server abended due to a room that was too hot, it corrupted GroupWise so now when it reboots it hangs. How do I restart the server and get it not to load the autoexec.ncf which contains GW? Your immediate assistance would be greatly appreciated! Thanks. Barbara barbara.roy@po.state.ct.us wrote: > The server abended due to a room that was too hot, it corrupted GroupWise > so now when it reboots it hangs. How do I restart the server and get it > not to load the autoexec.ncf which contains GW? Your immediate assistance > would be greatly appreciated! Thanks. B...

applying signatures>>>>>
Name: Greg Donsberger Email: donsbergeratecnodotcom Product: Thunderbird Summary: applying signatures>>>>> Comments: Thunderbird!!! I'd like to be able to apply a signature to my e-mails......but not every one with a particular account. outlook express has an "insert option" for signatures....you still have to set it up.....but you insert it yourself, instead of it being a default setting for the account. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) From ...

next >> last>>
Hii, I have a datalist that shows students' names from a table. There are 100 names. I don't want to show the whole 100 names at once, instead i want to show only 20 names in a page, then i can see the next 20... and so on.. How can i do that? Can anyont help me? Thanks in advance KOUBBAZ 4 Life!! FYI: http://authors.aspalliance.com/das/datalistpaging.aspx Colt...

simple code for search please>>>>>>>
hi>>i am work in project with asp.neti have code that search words in  only one page ,but i want simple code for search words in multiple pagesi mean i want put search box in home page and i can search for words in all pagesplease help me and dont late...');" title="Sad - ">......thanks   can u give us more information about how ur information is stored in your website so we can help u decide which search mechanism to use? cuz search can be done in a million ways  If this post was useful to you, please mark it as correct answer. Thank yo...

New Download>>>>> VERY SLOW
Name: john Email: jsuggatcomcastdotnet Product: Firefox Summary: New Download>>>>> VERY SLOW Comments: when i got on the web this morning with firefox 3.0.6 there was a message that a firefox upgrade had downloaded. now, web pages load VERY, VERY, VERY SLOW. ABOUT 10 TIMES AS LONG TO LOAD, MAYBE MORE. help!! Browser Details: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish ...

Sql Server 2000->->->->->Data->->->-> Sql Server 2005
How can i migrate data from Sql Server 2000 to  Sql Server 2000 A backup file of SQL 2000 can be restored on SQL 2005   ThanksMark post(s) as "Answer" that helped youElectronic ScrewWebsite||Blog||Dub@i.net...

SOS. >>>>>>>>HELP ME????????>>Web Matrix do not work in Win XP pro
Hi everbody!!!! I have a problem with webmatrix. My problem is?? i install ASP.NET Web Matrix but it is not work. My system is XP pro. I alredy install NET Framework 1.1. The program do not show nothing. But when i open i see picture which there webmatrix after some this disappeared and after i wait but this not work. When i use win 2000 this work excellent. But now problem . I test this in two PC. But no result. I want also add that i install XP sp 2. But Proqram do not work... Thanks!!!! Hi, Can you take a look at these threads: view post 258398 and view post 252245 Regar...

Implementation of tab in Browser>>>>>>Please Reply soon
creating Custom browser in MFC thru Mozilla API -->what interface i can use for tab browsing? -->what starting initialization i will have to define? -->Give some info about related source code or Document. -- View this message in context: http://www.nabble.com/Implementation-of-tab-in-Browser%3E%3E%3E%3E%3E%3EPlease-Reply-soon-tp21725203p21725203.html Sent from the Mozilla - Embedding mailing list archive at Nabble.com. dev_tim wrote: > creating Custom browser in MFC thru Mozilla API > -->what interface i can use for tab browsing? There isn't one. Tab ...

Problem with the sqldatasource while bindign to a Dropdown list >>>>>>?
Hi I have a Gridview which has say 2 records with 2 columns -----------------------------------------------------                   Name            Age Select         xyvcvc            24 select          yvchj            Null -------------...

From PAGE >> Login >> back to Same PAGE
I'm trying to get the Login link within a paragraph (Text/HTML module) to return visitor to that specific page once done. Now it recycles them to the Home page once done. I have the A HREF directing them to "/SOFTWARE/ProductTours/tabid/91/ctl/Login/Default.aspx", but it redirects to "/Login/tabid/66/Default.aspx" every time... and then pushes them to the Home once logging in. How can I get them to return to "/SOFTWARE/ProductTours/tabid/91/Default.aspx" once done?Thanks!! I assume you are using Forms Authentication. There is a FormsAuthentication.RedirectFromLoginPage method that will do ...

where is the professionals ???.... i need help >>>>
hi, i was create a clendar in the web form, my qustion is : how i can do the following ? : when the user click on any day the server well redirect hem to a new page, to input an activity, when he click on add_activity buttom the activity text  well insert into a data base , every date have an activity well be higlight ..... Hi abu3lai, You can handle the DayRender to accomplish your goal. This event is raised when each day is created in the Calendar control so you can use this event to modify the content and formatting of the individual date cells. Ex; (From MSDN) ...

Problem with DynamicCtrlAddition>>>>ObjectReferenceNotSet
Hello everybody,i m using a repeater control. and is working fine.Unless i dont try to add some control in it Dynamically. 1)to display data.2)to dynamically add control in the repeater control.3)i Need to figure out which dynamically added control has been clicked. i  am using this code. ________________________________________________________________<asp:repeater id="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound"> <HeaderTemplate> <table width="100%">  <tr width="100%">   <th>Name</th>&nbs...

Web resources about - Implementing custom paging with gridview like 1.2.3.>>>>>>>>>Next with stored proc output - asp.net.presentation-controls

Resources last updated: 1/18/2016 9:00:54 AM