" i want to use
SqlConnection con = new SqlConnection();
"
No, you don't. You want to use
IDbConnection = new SqlConnection();
Using the interfaces, rather than the concrete classes, will help you make such changes much easier.
So change your fields to:
IDataReader dr;
IDbConnection con;
See:
Simplified Database Access via ADO.NET Interfaces[
^]