![]() |
| ||
| How to connect sql database in asp.net using VB? Hi all, I would like to seek for some help from you on how to create a connection to a sql server database from an asp.net application using VB codes. I appreciate if you could provide me the relevant information about that with some sample codes. Thank you. |
| ||
| Re: How to connect sql database in asp.net using VB? Dim strConn As String = "Provider=SQLOLEDB.1;Password=xxxx;Persist Security Info=True;User ID=xxx;Initial Catalog=Your database name;Data Source=Your server Name" And don't forget to add Imports System.Data.OleDb Above your public class(On the top of the page ^^ |
| All times are GMT -4. The time now is 12:05 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC