Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2011
    Posts
    47

    Unanswered: how to do this ?

    hi i have a problem in hand and need an DBA advice on how to do it
    my problem is i have a grid which contains checkbox's which specifies whether a particular user has Read/Write/Modify/Delete access to a particular page or not
    so there are almost 40 to 50 pages so what i want is i want to send this bluck data of 160+ checkbox's in one go and one more twist is here i need to check the permissionId in the table if the permissionId is 0 then i have to insert else update the rows to my database so for this what can i do ?

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    so what have you tried so far?
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Sep 2011
    Posts
    47
    Quote Originally Posted by Thrasymachus View Post
    so what have you tried so far?
    I have tried Insert using XML but that was tough for me to determine the permissionID from the XML and then on the basis of that i have to do Insert or Update

  4. #4
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    you might get more help if you follow the directions... http://www.dbforums.com/microsoft-sq...ver-forum.html
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •