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
S

Samir Ibrahim

@Samir Ibrahim
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Binding
    S Samir Ibrahim

    >> add a column for it, but don't use the PK. That will require creating another table to handle the numbering for your application plus coding to handle the incremented value in that column, well, simply, I don't bind the PK, I handle it manually.

    Windows Development csharp wpf winforms wcf

  • Binding
    S Samir Ibrahim

    >>at most, it's only used for display. It's not something the user can edit. I display it in a label It can be used for entering a number to search for, so I don't bind the PK to a textbox, I handle it manually.

    Windows Development csharp wpf winforms wcf

  • Binding
    S Samir Ibrahim

    Binding is Good(Less coding) and Bad(more code to control) If you want full control on your form workflow, don't use binding If you bind a control (textbox) to datasource (access or mssql) to field ID (AutoNumber) and you want to add new record, the textbox will display -1 (you have more coding to prevent it) sometimes you will not be able to leave textbox binded to numberic (int,dec) empty (blank), unless you enter a value (you have more coding to allow it) binding is powerful and easy if used with dataset, but not easy if used with LinqToSql or EF In my form, I use binding and manual where necessary.

    Windows Development csharp wpf winforms wcf
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups