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. Data Inser Update with Gridview and Business objects

Data Inser Update with Gridview and Business objects

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

    Hi all, I have a class Employee with Fields ID, Name Dept Salary. I have a gridview to show them with datasource Emps (a List object). my queries are: 1) How Can I insert a new employee in the gridview and insert it into database using Emp.Save() method. 2) In the same manner how can I update it.

    A 1 Reply Last reply
    0
    • M mmdullah

      Hi all, I have a class Employee with Fields ID, Name Dept Salary. I have a gridview to show them with datasource Emps (a List object). my queries are: 1) How Can I insert a new employee in the gridview and insert it into database using Emp.Save() method. 2) In the same manner how can I update it.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Here is few good reference for you ! How to insert record using GridView[^] and Insert Update Edit Delete record in GridView using SqlDataSource ASP.NET[^]

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      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