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. Web Development
  3. ASP.NET
  4. hi venkatesh

hi venkatesh

Scheduled Pinned Locked Moved ASP.NET
databasesecurity
5 Posts 5 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.
  • N Offline
    N Offline
    niki_nilu
    wrote on last edited by
    #1

    hello i have one security form in that form when i will click add button that time small addsecurity form will be open, in that form i want to take security name, code etc fields and ok button . when i click on ok button that time record will add on sql database. ok pls reply me Gayatri

    V V P 3 Replies Last reply
    0
    • N niki_nilu

      hello i have one security form in that form when i will click add button that time small addsecurity form will be open, in that form i want to take security name, code etc fields and ok button . when i click on ok button that time record will add on sql database. ok pls reply me Gayatri

      V Offline
      V Offline
      Venkatesh Mookkan
      wrote on last edited by
      #2

      Use javascript to open a pop window which loads your addsecurity form. Check the syntax for window.open(), since I am not sure about the syntax... Your addsecurity would have all the code to update the database and close the pop window using window.close() method.

      Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group

      1 Reply Last reply
      0
      • N niki_nilu

        hello i have one security form in that form when i will click add button that time small addsecurity form will be open, in that form i want to take security name, code etc fields and ok button . when i click on ok button that time record will add on sql database. ok pls reply me Gayatri

        V Offline
        V Offline
        varshavmane
        wrote on last edited by
        #3

        Hi Gayatri, Use this code for parent form: function ChooseDept() { var winSettings = "dialogWidth:400px;dialogHeight:250px; help: no; status: no"; var values = window.showModalDialog("DeptFrame.aspx"," ", winSettings); if(values) { values[0] += "," + values[1]; document.all("txtDept").value = values[0]; return true; } else { return false; } } And on ur child window use this: function AddDeptDesg() { var dept = document.all("<%=cmbDeptName.ClientID%>"); var desg = document.all("<%=cmbDesgName.ClientID%>"); var MyArgs = new Array(); MyArgs[0] = dept.options[dept.selectedIndex].value; MyArgs[1] = desg.options[desg.selectedIndex].value; window.returnValue = MyArgs; window.close(); } Hope this helps u.......

        1 Reply Last reply
        0
        • N niki_nilu

          hello i have one security form in that form when i will click add button that time small addsecurity form will be open, in that form i want to take security name, code etc fields and ok button . when i click on ok button that time record will add on sql database. ok pls reply me Gayatri

          P Offline
          P Offline
          PlayByTheRules
          wrote on last edited by
          #4

          wrote:

          hi venkatesh

          Do not create posts aimed at one single person. If you are following up from something the person already said then "REPLY" to their message. Do not create a new thread.

          T 1 Reply Last reply
          0
          • P PlayByTheRules

            wrote:

            hi venkatesh

            Do not create posts aimed at one single person. If you are following up from something the person already said then "REPLY" to their message. Do not create a new thread.

            T Offline
            T Offline
            tisaracorner
            wrote on last edited by
            #5

            These people don’t know the basic manners in a forum :doh:

            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