Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Posts
    168

    Unanswered: data source output parameters

    Hi,

    I am using VS 2008 and created a web page. I have a number of controls which I dragged and dropped on the form including the SQLDataSource. I used the properties table to set the input to 'stored procedure'. So in my aspx.vb file I just use the code:

    mySQLDataSource.insert()

    Everything works fine but now I need to get the output parameters from this data source. More precisely I need the newly inserted row to pass on to another data source control's stored procedure. Any help on this? thanks

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    You can pull output parameters from the SqlDataSourceStatusEventArgs object by handling the SQLDataSource's Inserted() event.


    msdn:

    http://msdn.microsoft.com/en-us/libr....inserted.aspx
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Jul 2009
    Posts
    168
    hey teddy thanks so much man. so simple but so precious. cheers

Posting Permissions

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