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
3 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....

    L 2 Replies 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....

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Why have you repeated this question a third time?

      One of these days I'm going to think of a really clever signature.

      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....

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        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....

        Please Just reply the Query & CODE....

        A database does not display messages, it holds data. It holds data in bulk, not in "single records". What you want does not make much sense from a data-viewpoint. Now, this is not the place to "order" code like you do. The questions on the forums are answered by volunteers, in their free time. Put it in a object, serialize it, and stuff it in a single-column blob.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

        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