Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. datagrid

datagrid

Scheduled Pinned Locked Moved ASP.NET
csharpdatabaseasp-nethelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jai 123
    wrote on last edited by
    #1

    hi, i designed a datagrid using C# with asp.net,in that datagrid updating & deleting function are working proper. if i delete the data in the datagrid, the modification must took place only in that page not in the database,the database should not affected,i am using sql 2000 as backend, please help me.

    jai prakash

    I 1 Reply Last reply
    0
    • J jai 123

      hi, i designed a datagrid using C# with asp.net,in that datagrid updating & deleting function are working proper. if i delete the data in the datagrid, the modification must took place only in that page not in the database,the database should not affected,i am using sql 2000 as backend, please help me.

      jai prakash

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      You have two option here. 1. Take one field in database,set flag 0 for deleted record. 2. create new Datatable dynamically and bind it with DataBase table and just remove rows from this table and rebind gridview with this table. Best Regard Pathan

      ---------------------------------------------------

      N 1 Reply Last reply
      0
      • I Imran Khan Pathan

        You have two option here. 1. Take one field in database,set flag 0 for deleted record. 2. create new Datatable dynamically and bind it with DataBase table and just remove rows from this table and rebind gridview with this table. Best Regard Pathan

        ---------------------------------------------------

        N Offline
        N Offline
        neerubee
        wrote on last edited by
        #3

        What pathan telling is exactly correct. You can try those options. Regards, Niranjan

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups