You can Add Namespace as system.data.sqlclient
and then you can use
sqlconnection class and sqlcommand class to establish
connection with backend sql server
like this
sqlconnection cn = new sqlconnection();
sqlcommand cm = new sqlcommand();
cn.connectionstring = "your connection string goes here";
cm.connection = cn;
cn.open();
cm.commandtext = "your sql query";
sqldataadapter da = new sqldataadapter(cm);
dataset ds = new dataset();
da.fill(ds);
cn.close();