RE: How can I connect to sql without using sqlclient?(...
Using System.Oledb;OledbConnection con new OledbConnection ( Provider SQLOLEDB.1;User Id sa;Database Northwind );OledbCommand cmd new OledbCommand ( select * from table1 con);oledbdatareader dr new oledbdatareader ();dr cmd.ExecuteReader();datagrid1.datasource dr;datagrid1.databind();