How to make dr.Read(); start reading again from the beginning if a condition is satisfied?
dr.Read();
Something like:
SqlDataReader dr = command.Ex
You can do that by first closing the datareader using dr.close(); then initializing it again.
dr.close();
If(condition) { dr.close(); dr=command.ExecuteReader(); }
Where command is the MySqlCommand object.
MySqlCommand