Editing a record from a datagrid.

Discussion in 'ASP .Net' started by =?Utf-8?B?Z2VvZGV2?=, Oct 19, 2005.

  1. I’m building a small application and I have to build it using asp.net, vb.net
    and my database is MSDE. I have a datagrid with a list of customers and that
    is working great. I now need to be able to edit and delete these entries.

    Having done some reading I realised that there are some built in features
    with datagrid that allows you to do this easily directly onto the datagrid.
    Unfortunately I have a lot of customer data so this is not possible because
    my datagrid would be 4 pages wide (not to user friendly).

    So I’m thinking of being able to have a edit hyperlink text next to each
    customer record in the datagrid that when clicked takes the user to an update
    page, with all their details set out where they can update things through
    text fields, drop boxes etc. How do I do this? Any comments and example code
    would be very helpful.

    Thank you in advance,
    geodev
     
    =?Utf-8?B?Z2VvZGV2?=, Oct 19, 2005
    #1
    1. Advertising

  2. I have plenty of samples on editable datagrids (for parent-child
    relationships and for including dropdownlists, checkboxes, user controls and
    custom controls) You can browse freely through the source codes of the
    samples http://www.societopia.net/Samples/
    --
    HTH,
    Phillip Williams
    http://www.societopia.net
    http://www.webswapp.com


    "geodev" wrote:

    > I’m building a small application and I have to build it using asp.net, vb.net
    > and my database is MSDE. I have a datagrid with a list of customers and that
    > is working great. I now need to be able to edit and delete these entries.
    >
    > Having done some reading I realised that there are some built in features
    > with datagrid that allows you to do this easily directly onto the datagrid.
    > Unfortunately I have a lot of customer data so this is not possible because
    > my datagrid would be 4 pages wide (not to user friendly).
    >
    > So I’m thinking of being able to have a edit hyperlink text next to each
    > customer record in the datagrid that when clicked takes the user to an update
    > page, with all their details set out where they can update things through
    > text fields, drop boxes etc. How do I do this? Any comments and example code
    > would be very helpful.
    >
    > Thank you in advance,
    > geodev
    >
     
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=, Oct 19, 2005
    #2
    1. Advertising

  3. Thanks Phillip, some good stuff there.

    "Phillip Williams" wrote:

    > I have plenty of samples on editable datagrids (for parent-child
    > relationships and for including dropdownlists, checkboxes, user controls and
    > custom controls) You can browse freely through the source codes of the
    > samples http://www.societopia.net/Samples/
    > --
    > HTH,
    > Phillip Williams
    > http://www.societopia.net
    > http://www.webswapp.com
    >
    >
    > "geodev" wrote:
    >
    > > I’m building a small application and I have to build it using asp.net, vb.net
    > > and my database is MSDE. I have a datagrid with a list of customers and that
    > > is working great. I now need to be able to edit and delete these entries.
    > >
    > > Having done some reading I realised that there are some built in features
    > > with datagrid that allows you to do this easily directly onto the datagrid.
    > > Unfortunately I have a lot of customer data so this is not possible because
    > > my datagrid would be 4 pages wide (not to user friendly).
    > >
    > > So I’m thinking of being able to have a edit hyperlink text next to each
    > > customer record in the datagrid that when clicked takes the user to an update
    > > page, with all their details set out where they can update things through
    > > text fields, drop boxes etc. How do I do this? Any comments and example code
    > > would be very helpful.
    > >
    > > Thank you in advance,
    > > geodev
    > >
     
    =?Utf-8?B?Z2VvZGV2?=, Oct 20, 2005
    #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. Mark Perona
    Replies:
    2
    Views:
    389
    Duray AKAR
    Aug 12, 2003
  2. =?Utf-8?B?Qw==?=
    Replies:
    4
    Views:
    386
    Mark Rae
    Jun 30, 2006
  3. Replies:
    0
    Views:
    596
  4. geodev

    Editing a record from a datagrid.

    geodev, Oct 19, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    125
    geodev
    Oct 19, 2005
  5. PaulNaude

    how 2 allow new record but not editing existing ones

    PaulNaude, Dec 6, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    128
    PaulNaude
    Dec 6, 2005
Loading...

Share This Page