Welcome to Dream.In.Code
Become a C# Expert!

Join 150,411 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 963 people online right now. Registration is fast and FREE... Join Now!




working with ado.net

 
Reply to this topicStart new topic

working with ado.net

binnu
30 Mar, 2008 - 09:52 PM
Post #1

New D.I.C Head
*

Joined: 30 Mar, 2008
Posts: 5

<code>
hi!in windows application ,I have created a form using 'datagridview' control.In the properties window i have chosen the option add to data source.a window was open.i selected sql server 2005.and provider as ' .net provider for sqlserver' and clicked on continue button.another window is opened.in that i entered 'MSSQL server ' as the server name.then i have selected server authentication .in that i have given sa,sa as userid and password respectively.then i have cilcked the 'TEST CONNECTION' button.then it is showing that cannot connect to sqlserver2005. plz can anybody of tell me whaz the problem.


plz tell me how to get connected with datasource?I have tried alot.but i can't.

User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Working With Ado.net
31 Mar, 2008 - 04:40 AM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
We will need to know exactly what the error is you're receiving smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 07:40PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month