Datagrid: How do I allow edits but not new records?

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Datagrid: How do I allow edits but not new records?

    I would like to allow editing of data displayed in a datagrid but not the
    adding of new records.

    How do you set it up?
    PaulNaude Guest

  2. Similar Questions and Discussions

    1. Updating database records in a datagrid
      In a datagrid, I read that you cannot add validation controls to the textboxes, you want to update, because they are using BoundColumns. I want to...
    2. datagrid with no records - showing a line
      Hi everyone, Using asp.net and a datagrid - When there are no records returned from the query - is there a way to add/insert a line into the...
    3. Add new records into SQL db via datagrid
      Hello group: I've searched through several postings on this question, and either they are not quite what I'm looking for, or I'm totally...
    4. EditItemIndex not working when adding new records with datagrid
      I have a datagrid in which I added a linkbutton (to the footer of my only template column) that raises the OnClick event and fires the AddNew...
    5. DataGrid All Records in Edit Mode ?
      Hi All, Is is possibible to put all records in a Datagrid in Edit Mode. So my users, can chose a record, put the cursor in the first field of...
  3. #2

    Default Re: Datagrid: How do I allow edits but not new records?

    Hi Paul,

    If it's a web datagrid, it does not add new record automatically. I mean no
    any thing you need to do.



    HTH



    "PaulNaude" <PaulNaude@discussions.microsoft.com> wrote in message
    news:63C627A4-EF40-4973-8C5C-764AB18507DC@microsoft.com...
    > I would like to allow editing of data displayed in a datagrid but not the
    > adding of new records.
    >
    > How do you set it up?

    Elton Wang Guest

  4. #3

    Default Re: Datagrid: How do I allow edits but not new records?

    The DataGrid supports inline editing. The URL below is the quickstarts for
    doing this. The other option is to have a different details page (or section
    on the page) for editing individual rows. This approach will be an all manual
    endeavor.

    [url]http://www.dotnetjunkies.com/QuickStart/aspplus/default.aspx?url=/quickstart/aspplus/doc/webdataaccess.aspx[/url]

    -Brock
    DevelopMentor
    [url]http://staff.develop.com/ballen[/url]
    > I would like to allow editing of data displayed in a datagrid but not
    > the adding of new records.
    >
    > How do you set it up?
    >

    Brock Allen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139