none
Custom Query with ColumnSource set parameters in TableAdapter in a DataSet RRS feed

  • Question

  • The custom query has 7 input parameters which have to be passed to the function when calling it:

    myTableAdapter.CustomQuery(1, 2, 3, 4, 5, 6, 7)

    However, I've bound my input paramters using the ColumnSource property for each.

    The problem is, when calling CustomQuery, I still have to provide the values for the parameters.

    Am I doing something wrong, or is it normal to continue to pass parameters which should be auto-set?

    I've found someone else from 2006 that had a problem like this...

    http://social.msdn.microsoft.com/Forums/en-SG/adodotnetdataproviders/thread/86289642-41DE-45EE-8788-4A0C4B1F68E0

    but, this guy is talking about the built-in update function.  I have a custom query.

    Monday, March 19, 2012 7:23 AM

All replies

  • Hi December1984,

    Welcome to MSDN Forum.

    Could you please post the code here? This is, so we can help you more effectively.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, March 20, 2012 4:15 AM
    Moderator