Do ADO.Net DataTables have indexes?

前端 未结 11 2178
别那么骄傲
别那么骄傲 2021-01-01 15:11

I am using VSTS 2008 + C# + .Net 3.5 + SQL Server 2008 + ADO.Net. If I load a table from a database by using a DataTable of ADO.Net, and in the database table, I defined a c

11条回答
  •  一个人的身影
    2021-01-01 15:45

    You can create a primary key for the datatable. Filter operations get a big boost if you are searching in the primary key field. Check out this link: here

提交回复
热议问题