Using datatable as parameter for SqlDatasource Update RRS feed

  • Question

  • User1844738649 posted

    I am trying to send multiple records back to the database simultaneously by passing a datatable as a parameter to the sqldatasource update however I cannot seem to find the correct type (i.e. form, control, session, etc.).

    I did try storing the datatable in a session and pass that as a parameter however I get error message "The table type parameter '@table' must have a valid type name".

    If there is a better way of sending a datatable back to the database it would be gretly appreciated if someone could reply.

    I am very new to asp.net.

    Kind regards


    Wednesday, May 8, 2013 11:11 AM


All replies