pls, what is the code to connect to an sql database through DSN named (accounts) and access its tables for read,edit, update
Printable View
pls, what is the code to connect to an sql database through DSN named (accounts) and access its tables for read,edit, update
That's a very broad question. There is no one specific code because it depends what you want to do exactly. I'd suggest that you do some reading on ADO.NET and get the big picture and then work your way to specifics. Try the tutorials from my signature or these courtesy of TechGnome: ADO.NET part1, ADO.NET part2