Returning DataTables in WCF/.NET

前端 未结 8 1605
广开言路
广开言路 2020-12-01 05:00

I have a WCF service from which I want to return a DataTable. I know that this is often a highly-debated topic, as far as whether or not returning DataTables is a good pract

8条回答
  •  一个人的身影
    2020-12-01 05:49

    Other than setting maximum values for all binding attributes.

    Make sure each table you are passing/returning from webservice must have a table name, meaning the table.tablename property should not be blank.

提交回复
热议问题