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. General Programming
  3. C#
  4. how to add record to database with gridjanus and bindingnavigator

how to add record to database with gridjanus and bindingnavigator

Scheduled Pinned Locked Moved C#
cssdatabasehelptutorial
2 Posts 1 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.
  • F Offline
    F Offline
    fatemehsoleimani
    wrote on last edited by
    #1

    hi every one i have a bindingnavigator in form and a gridex in form and i set addnew item with value null and i will in bindingnavigatorn in method click a record add to grid but when table is null not add a record to grid and other record to add a grid but i have one click in colum code .please help mee my source code: fatemeBindingSource.AddNew(); int code = Convert.ToInt32(this.fatemeTableAdapter.maxcode()); ((DataRowView)fatemeBindingSource.Current).Row["code"] = code + 1; i dont english as well.please help me best a regards.

    F 1 Reply Last reply
    0
    • F fatemehsoleimani

      hi every one i have a bindingnavigator in form and a gridex in form and i set addnew item with value null and i will in bindingnavigatorn in method click a record add to grid but when table is null not add a record to grid and other record to add a grid but i have one click in colum code .please help mee my source code: fatemeBindingSource.AddNew(); int code = Convert.ToInt32(this.fatemeTableAdapter.maxcode()); ((DataRowView)fatemeBindingSource.Current).Row["code"] = code + 1; i dont english as well.please help me best a regards.

      F Offline
      F Offline
      fatemehsoleimani
      wrote on last edited by
      #2

      that value methoad max code= SELECT ISNULL(MAX(code),0) AS ID FROM fateme that in dataset table can not show record added in grid and how record added in grid i have in selected record i should be in find row of grid record to be add but i dont. pleeeeeeeeeeese help meeeeeeeeeeee

      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