I have a little problem and hoping someone can give me some advice. I am running a SQL command, but it appears it takes this command about 2 mins to return the data as there
Add timeout of your SqlCommand. Please note time is in second.
SqlCommand
// Setting command timeout to 1 second scGetruntotals.CommandTimeout = 1;