View Full Version : Connecting C#.net app to sql
08-19-2008, 01:04 PM
Hi there im pretty new at this, i was wondering if there is anyone out there who could help me. I need to write a simple app to with dataset to connect to a sql server. Everyone tries to show me how to do it with wizards but i wanna know how to do it the right way with coding. Can anyone point me in the right direction please!!!
08-19-2008, 04:36 PM
Are you referring to Microsoft SQL Server?
There are objects for connecting to it in the System.Data.Microsoft.SqlServer.Server namespace.
08-20-2008, 01:01 PM
Hi yes it is microsoft sql server.
I know about the namspaces what im looking for is code showing me how to connect to a sql database via code. Getting a connection and all the datasets and stuff. I know this is a weird question probably, I have no idead how to connect like this to a database. Would you be ableto give me a sample of code so i can see how it is done, or maybe redirect me to some website where i can read more about it? Thanks
08-20-2008, 02:56 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.