1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Execute stored procedure using a string variable

Discussion in 'C#' started by sama123, Jun 23, 2010.

  1. sama123

    sama123 New Member

    Joined:
    Jun 23, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Is it possible to save execute stored proc command in a string variable and then execute string variable???

    Does this logic fits into LINQ2SQL?

    Why I want to do this - INstead of passing user control references to server, I want to save user control values to string in client side java script and then pass string to server to do actual stored proc execution. Hopefully this will improve performance. DOES IT MAKE ANY SENSE?show me example.
     

Share This Page