PDA

View Full Version : How to connect to MS-SQL database from desktop application accross WinForm


mezzanine74
04-05-2011, 03:20 AM
Hi,

I am new to WinForm development and I completed very simple project already. My question is I cannot find any way to connect to Remote MS-SQL database. I have been searching web for two days but i dont see enough info.

I just need to connect to Remote Database, then run a SQL statement to fill a grid with required data. It is very straight forward procedure in ASP.NET but what about VB.NET?

Thanks

mezzanine74
04-05-2011, 06:43 AM
none of following related link solved my problem! Can you please help me on this issue. I am searching entire web for couple of hours.

bruce
04-05-2011, 10:54 AM
You just use the same connection string. are you getting any error?