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. Connect to Stored procedure in sql using ADO.NET FROM ASP.NET c#

Connect to Stored procedure in sql using ADO.NET FROM ASP.NET c#

Scheduled Pinned Locked Moved Database
databasecsharpasp-netsql-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
    mtasaad
    wrote on last edited by
    #1

    I am trying to write a code for a web site using C# to pass parameters from from1.aspx to a class1.cls and then pass it again to another cls then execute it in a third class to added to stored procedure in Sql server. example: user insert first name in front end form1.aspx. then firstname=txtfirstname.Text in form1.cs then pass firstname parameter to another class called member.cls. and then pass again to third class called EXECUTE.cs class. to insert the record to stored procedure in Sql Database. my problem is between member.cls and execute.cls :confused: Thanks.

    C 1 Reply Last reply
    0
    • M mtasaad

      I am trying to write a code for a web site using C# to pass parameters from from1.aspx to a class1.cls and then pass it again to another cls then execute it in a third class to added to stored procedure in Sql server. example: user insert first name in front end form1.aspx. then firstname=txtfirstname.Text in form1.cs then pass firstname parameter to another class called member.cls. and then pass again to third class called EXECUTE.cs class. to insert the record to stored procedure in Sql Database. my problem is between member.cls and execute.cls :confused: Thanks.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I assume these are cs, not cls files ? Their names don't really matter, but it all sounds very convoluted. What's the problem you're having ? You just want to pass parameters from class to class ? If you posted some code, perhaps we could get an idea of what's going on ? Is all this stuff irrelevant, and your problem is just how to call a stored proc from C# ? If so, I answered that question below earlier today. Christian Graus - Microsoft MVP - C++

      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