Click here to Skip to main content
15,903,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Close Popup window from server side button? Pin
Amit.Amit.Amit...5-Feb-08 0:29
Amit.Amit.Amit...5-Feb-08 0:29 
GeneralPaging and Sorting in ASP.NET Pin
.NET- India 5-Feb-08 0:04
.NET- India 5-Feb-08 0:04 
GeneralRe: Paging and Sorting in ASP.NET Pin
Amit.Amit.Amit...5-Feb-08 0:22
Amit.Amit.Amit...5-Feb-08 0:22 
GeneralRe: Paging and Sorting in ASP.NET Pin
.NET- India 5-Feb-08 0:43
.NET- India 5-Feb-08 0:43 
GeneralRe: Paging and Sorting in ASP.NET Pin
Abhijit Jana5-Feb-08 1:11
professionalAbhijit Jana5-Feb-08 1:11 
GeneralRe: Paging and Sorting in ASP.NET Pin
Rocky#5-Feb-08 1:14
Rocky#5-Feb-08 1:14 
GeneralRe: Paging and Sorting in ASP.NET Pin
dilipv5-Feb-08 2:45
dilipv5-Feb-08 2:45 
GeneralRe: Paging and Sorting in ASP.NET Pin
~V~5-Feb-08 18:43
~V~5-Feb-08 18:43 
Hi,

Paging in Grid View is very simple just follow 4 steps:

1> Take the columns in grid and set the column's Data field of column of your Dataset(means if you have dataset column name empid then set the columnl's datafield empid of grid view

2> Set the paging of grid view =True
3>Set the page size=10 (suppose)
4>In the event of grid view write this
<br />
  Protected Sub GridView1_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles GridView1.PageIndexChanging<br />
         GridView1.PageIndex = e.NewPageIndex<br />
         add_record()<br />
    End Sub<br />


Here add_record() is a procedure which bind the grid view to dataset
(Remember use
Gridview.Datasource=mydataset
Gridview.Databind

Hope this helps if not then feel free and tell me again....
GeneralIts possible to take our mails, backup copy?, Pin
Member 38798814-Feb-08 23:59
Member 38798814-Feb-08 23:59 
GeneralRe: Its possible to take our mails, backup copy?, Pin
Abhijit Jana5-Feb-08 0:15
professionalAbhijit Jana5-Feb-08 0:15 
GeneralRe: Its possible to take our mails, backup copy?, Pin
Member 38798815-Feb-08 0:29
Member 38798815-Feb-08 0:29 
GeneralRe: Its possible to take our mails, backup copy?, Pin
Abhijit Jana5-Feb-08 1:04
professionalAbhijit Jana5-Feb-08 1:04 
GeneralRe: Its possible to take our mails, backup copy?, Pin
Member 38798815-Feb-08 1:19
Member 38798815-Feb-08 1:19 
GeneralRe: Its possible to take our mails, backup copy?, Pin
N a v a n e e t h5-Feb-08 1:49
N a v a n e e t h5-Feb-08 1:49 
Questionhow to have flex grid in asp.net? Pin
Tejaswini4-Feb-08 23:42
Tejaswini4-Feb-08 23:42 
GeneralRe: how to have flex grid in asp.net? Pin
Paddy Boyd5-Feb-08 1:04
Paddy Boyd5-Feb-08 1:04 
GeneralRe: how to have flex grid in asp.net? Pin
Fred_Smith5-Feb-08 1:05
Fred_Smith5-Feb-08 1:05 
QuestionHow do i Encrypt Cookie. Pin
Amit.Amit.Amit...4-Feb-08 23:22
Amit.Amit.Amit...4-Feb-08 23:22 
GeneralRe: How do i Encrypt Cookie. Pin
N a v a n e e t h4-Feb-08 23:30
N a v a n e e t h4-Feb-08 23:30 
GeneralRe: How do i Encrypt Cookie. Pin
dilipv5-Feb-08 20:46
dilipv5-Feb-08 20:46 
GeneralRe: How do i Encrypt Cookie. Pin
Amit.Amit.Amit...5-Feb-08 23:38
Amit.Amit.Amit...5-Feb-08 23:38 
GeneralDisabling popup blocker programatically Pin
Lijo Rajan4-Feb-08 23:18
Lijo Rajan4-Feb-08 23:18 
GeneralRe: Disabling popup blocker programatically Pin
N a v a n e e t h4-Feb-08 23:19
N a v a n e e t h4-Feb-08 23:19 
GeneralRe: Disabling popup blocker programatically Pin
Lijo Rajan4-Feb-08 23:26
Lijo Rajan4-Feb-08 23:26 
GeneralRe: Disabling popup blocker programatically Pin
N a v a n e e t h4-Feb-08 23:28
N a v a n e e t h4-Feb-08 23:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.