I want to reduce my CPU Usage when I am querying the
Database for records. Now my Winform App(in VB.Net)
suddenly Jumps to 100% CPU Usage when i query for records
from sql server database. I want this Usage to be less. Any
help is appreciated

Answer Posted / suresh

check if any indexes is created for that table if not
create it. Open connection and close immediately when no
longer in use.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between system.string and system.stringbuilder classes?

761


source code for how to login a vb.net application ?

730


Explain jit?

725


What are the various open source tool available for VB.NET?

742


Which dll is used for microsoft .net run time?

709


How can we store decimal data in .net?

730


thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net

1864


what is intermediate language?

774


What are the advantages of an assembly?

816


What is the differences between dataset.clone and dataset.copy?

827


What is strong name in .net assembly?

706


Can you please explain the difference between c# and vb.net?

779


What is the feature which is common to all .net languages?

686


Explain strong name in .net assembly?

720


Explain how to achieve polymorphism in vb.net?

708