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. Grid view problem while saving to database

Grid view problem while saving to database

Scheduled Pinned Locked Moved ASP.NET
databasehelpcsssql-serversysadmin
2 Posts 2 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.
  • D Offline
    D Offline
    DJ245
    wrote on last edited by
    #1

    Hai Iam new to web applications. In my application try to add rows to gridview and save the row data in to sql server db. My problems ----------- 1. While adding rows only one row is added. Trying to add another row firstly created row is removed and adds a new row. Cant add rows continuesly. 2. Only one SAVE button is there. While saving newly created ROW data cant inserted to db. Pls help to find a solution. Regards, KP

    C 1 Reply Last reply
    0
    • D DJ245

      Hai Iam new to web applications. In my application try to add rows to gridview and save the row data in to sql server db. My problems ----------- 1. While adding rows only one row is added. Trying to add another row firstly created row is removed and adds a new row. Cant add rows continuesly. 2. Only one SAVE button is there. While saving newly created ROW data cant inserted to db. Pls help to find a solution. Regards, KP

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The solution is to fix your code. It sounds like you're not saving your new rows, so they are lost. Why are you taking on something this complex when you're new to web apps ?

      Christian Graus Driven to the arms of OSX by Vista.

      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