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. i am tired guides for how to select new record in gridex janus for add in database

i am tired guides for how to select new record in gridex janus for add in database

Scheduled Pinned Locked Moved C#
databasehelptutorialannouncement
3 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 want when i click icon save in navigator that i new record that updat as case select record and add database but not all record select and show one of record is null beacasue not column select. please help me one of column add with value 0 beacasue not column select. and for add record whiout 0 value i was in run one click after edit a record but i dont click i want in code a click after edit that record to be select how this write . my code: try { ((DataRowView)fatemeBindingSource.Current).Row["code"] = codemax; int g, b; g = Convert.ToInt32(gridEX1.CurrentRow.Cells["code_b"].Value); b = Convert.ToInt32(gridEX1.CurrentRow.Cells["name"].Value); ((DataRowView)fatemeBindingSource.Current).Row["code_b"] = g; ((DataRowView)fatemeBindingSource.Current).Row["name"] = b; fatemeBindingSource.EndEdit(); fatemeTableAdapter.Update(this.baziDataSet.fateme); } catch (Exception ex) { MessageBox.Show(ex.Message); } :confused: best regards

    F 1 Reply Last reply
    0
    • F fatemehsoleimani

      hi every one i want when i click icon save in navigator that i new record that updat as case select record and add database but not all record select and show one of record is null beacasue not column select. please help me one of column add with value 0 beacasue not column select. and for add record whiout 0 value i was in run one click after edit a record but i dont click i want in code a click after edit that record to be select how this write . my code: try { ((DataRowView)fatemeBindingSource.Current).Row["code"] = codemax; int g, b; g = Convert.ToInt32(gridEX1.CurrentRow.Cells["code_b"].Value); b = Convert.ToInt32(gridEX1.CurrentRow.Cells["name"].Value); ((DataRowView)fatemeBindingSource.Current).Row["code_b"] = g; ((DataRowView)fatemeBindingSource.Current).Row["name"] = b; fatemeBindingSource.EndEdit(); fatemeTableAdapter.Update(this.baziDataSet.fateme); } catch (Exception ex) { MessageBox.Show(ex.Message); } :confused: best regards

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

      my problem is a select last column in grid jans that not to be select. please help me i am tired .i am cellselectionmode =entirerow but not select colunm last gridjanus. please help me :doh:

      F 1 Reply Last reply
      0
      • F fatemehsoleimani

        my problem is a select last column in grid jans that not to be select. please help me i am tired .i am cellselectionmode =entirerow but not select colunm last gridjanus. please help me :doh:

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

        please help me. i am wating guide for solve problem. best regards

        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