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. gridview is used to store data

gridview is used to store data

Scheduled Pinned Locked Moved ASP.NET
cssdatabase
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.
  • K Offline
    K Offline
    kvijayajyothy
    wrote on last edited by
    #1

    i want this for master-detail data i want to use data grid to store data but i don't want to bind database. when i select save button i want to save it in database vijaya

    vijaya

    G 1 Reply Last reply
    0
    • K kvijayajyothy

      i want this for master-detail data i want to use data grid to store data but i don't want to bind database. when i select save button i want to save it in database vijaya

      vijaya

      G Offline
      G Offline
      ganti r
      wrote on last edited by
      #2

      Use a dataset, bind it to grid. Once you are click the save button, use the data in dataset to save in the database. //Binding datagrid with dataset { Dataset dsData = New DataSet() //Load columns/relevant data into dataset LoadData(dsData); dataGrid.DataSource = dsData; dataGrid.BindData(); } //Saving to database on savebutton event. { SaveData(dsData) }

      i Think, i Wait, i Fast
      rAm

      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