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. Delete doesn't work in ASP.NET 2003 Data Grid.

Delete doesn't work in ASP.NET 2003 Data Grid.

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-nethelp
5 Posts 5 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.
  • S Offline
    S Offline
    SekharOne
    wrote on last edited by
    #1

    why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.

    Sekhar :)

    V N M V 4 Replies Last reply
    0
    • S SekharOne

      why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.

      Sekhar :)

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      What does it do then for you? Does it spell out any errors?

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

      1 Reply Last reply
      0
      • S SekharOne

        why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.

        Sekhar :)

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        You need to handle the event and do deletion from DB, rebind datagrid again.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

        1 Reply Last reply
        0
        • S SekharOne

          why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.

          Sekhar :)

          M Offline
          M Offline
          Milind Panchal
          wrote on last edited by
          #4

          If you had coded correct then there may be missing the handle on that event.

          1 Reply Last reply
          0
          • S SekharOne

            why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.

            Sekhar :)

            V Offline
            V Offline
            Vivek Kushwaha
            wrote on last edited by
            #5

            if in datagrid button id="btndel" and commandname="btndelete" then on datagrid's itemcommand write this code. // code. if e.commandname="btndelete" dim btn as button btn=e.item.findcontrol("btndel") if not btn is nothing then ''write delete query here. end if ''refresh datagrid. end if :-D

            Vivek Kushwaha

            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