datagrid paging

Discussion in 'ASP .Net' started by ven, Jun 2, 2004.

  1. ven

    ven Guest

    hello

    i have datagrid who may take data from two sources :

    1. dropdown list with categories of items - when client choose category then
    items are displayed in datagrid usin select from
    2. textbox where user can write a part of item name and all items with part
    of word are displayed in datagrid usin select from like

    i`m connecting to database only when i`m makin SELECT FROM and return
    dataset object....
    i can`t make paging with page_load method and static connect to database

    how can i make it ?

    Ven
     
    ven, Jun 2, 2004
    #1
    1. Advertising

  2. ven

    Raterus Guest

    http://aspnet.4guysfromrolla.com/articles/070903-1.aspx

    "ven" <> wrote in message news:c9lf90$jpe$...
    > hello
    >
    > i have datagrid who may take data from two sources :
    >
    > 1. dropdown list with categories of items - when client choose category then
    > items are displayed in datagrid usin select from
    > 2. textbox where user can write a part of item name and all items with part
    > of word are displayed in datagrid usin select from like
    >
    > i`m connecting to database only when i`m makin SELECT FROM and return
    > dataset object....
    > i can`t make paging with page_load method and static connect to database
    >
    > how can i make it ?
    >
    > Ven
    >
    >
     
    Raterus, Jun 2, 2004
    #2
    1. Advertising

  3. ven

    ven Guest

    i cant do that :

    Sub Page_Load(sender as Object, e as EventArgs)
    BindData()
    End Sub

    because my datagrid is empty on start, and now i choose category and it`s
    filled with items rows
    and i wanna paging now
     
    ven, Jun 2, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGF0cmljay5PLklnZQ==?=

    DataSet paging vs Datareader paging

    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    10,727
    Scott Allen
    Oct 8, 2004
  2. Roger
    Replies:
    0
    Views:
    967
    Roger
    Dec 28, 2004
  3. wh1974
    Replies:
    0
    Views:
    2,445
    wh1974
    Jan 12, 2005
  4. Red
    Replies:
    1
    Views:
    730
  5. Green Start Button

    DataGrid.Items.Count and DataGrid Paging...

    Green Start Button, Aug 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    5,826
    agravar
    Aug 2, 2006
Loading...

Share This Page