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. Database & SysAdmin
  3. Database
  4. ADO.NET

ADO.NET

Scheduled Pinned Locked Moved Database
csharpdatabasesql-serversysadmin
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
    M T H Danish
    wrote on last edited by
    #1

    I want to insert only one row in a table in SQL server 2008 using C# ADO.Net... If any user want to insert another row in that table then it is not possible message should be display.... Please Just reply the Query & CODE....

    I 1 Reply Last reply
    0
    • M M T H Danish

      I want to insert only one row in a table in SQL server 2008 using C# ADO.Net... If any user want to insert another row in that table then it is not possible message should be display.... Please Just reply the Query & CODE....

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      M.T.H.Danish wrote:

      If any user want to insert another row in that table then it is not possible message should be display

      Take a look at locking a table: http://manuals.sybase.com/onlinebooks/group-as/asg1250e/sqlug/@Generic__BookTextView/55452[^]

      M.T.H.Danish wrote:

      Please Just reply the Query & CODE

      I didn't downvote you, but I think most people here won't like to do your work. You can ask questions, you can show your code and ask for help, but you have to do your work on your own. So my answer is: Definitely not!

      ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

      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