linq, grid paging problem
-
hi... how would query in linq for: 1. Selecting top 10 rows for a datagrid on the first time... 2. allowing paging in grid and when somebody pressing 2, re- query linq and get next 10 rows ... i am quite knew to paging (manually)...sorry for inconvenience... fellows thanx...
haseeb
-
hi... how would query in linq for: 1. Selecting top 10 rows for a datagrid on the first time... 2. allowing paging in grid and when somebody pressing 2, re- query linq and get next 10 rows ... i am quite knew to paging (manually)...sorry for inconvenience... fellows thanx...
haseeb
-
hi... how would query in linq for: 1. Selecting top 10 rows for a datagrid on the first time... 2. allowing paging in grid and when somebody pressing 2, re- query linq and get next 10 rows ... i am quite knew to paging (manually)...sorry for inconvenience... fellows thanx...
haseeb
Hi, if you can sub procedure for calling to load your grid, you can call it again after you clicked the paging. in your grid_pagingidex something like this grid1.pageindex = e.newpageindex; grid1.datasource = (var q = from a in dc.gettable(); grid1.databind();