I’m using SqlDataAdapter to search Datas like this :
tableDataAdapter.Adapter.SelectCommand.CommandText = "select * from Table";
tableDataAdapter.fill("table");
Is there a method to optimize it ?
thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use below mentioned general rules to improve query performance.
Improve Indexes
Choose What to Index
Rewrite Subqueries to Use JOIN
Use Parameterized Queries
For more information check Query Performance Tuning
I hope this will help to you.