Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I used to deal with MS:Access database using recordset in adodb.dll library with adodb.connection

and I can movenext(), movefirst()...etc
+ checking if BOF or EOF...etc

The question is:

How I can do this with Sqlclient library?

Is it possible? or I can use adodb library to connect to sql server? How?
Posted
Updated 8-Jun-12 17:22pm
v2

Use BindingSource, here a CP article for you

BindingSource and BindingNavigator in C# 2.0[^]
 
Share this answer
 
Comments
yasser_ja 9-Jun-12 4:52am    
Is it possible to use binding source without text boxes?
Suppose I wanna do some operations on the rows data and display the result later.
Providers for Access 2007
ACE OLEDB 12.0
.NET Framework Data Provider for OLE DB(OleDbConnection)
Microsoft Access accdb ODBC Driver
.NET Framework Data Provider for ODBC(OdbcConnection)

Providers for Access
Microsoft Jet OLE DB 4.0
.NET Framework Data Provider for OLE DB(OleDbConnection)
Microsoft Access ODBC Driver
.NET Framework Data Provider for ODBC(OdbcConnection)

Here you'll find possible connections:
http://www.connectionstrings.com/access-2007[^]
http://www.connectionstrings.com/access[^]
 
Share this answer
 
Comments
yasser_ja 8-Jun-12 18:53pm    
Thank you for the hint,

But I need to access Sql server database with same technique used with access2007 but with the sqlclient library

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900