CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 2/19/2008 6:57:46 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
johnjalani
Asp.Net User
OLEDB from VS2003 but NO OLEDB in VS2005??2/19/2008 6:57:46 AM

0/0

hi,

i have a question, and please help me, i have a friend who is currently using VS 2003 in their office, when he is making his connection string, he is using it like this "DIM = conn as oledb........ and soon"

 but when i try to do that in our office where we are using VS2005, i can't find or the intellisense did not popup any "OLEDB" or anything in it.

is there no "OLEBD" in the VS2005 or if there is, who can i put it there or if there is none, what is the alternative for it??

thanks for the help of anyone.
 

 


JFRBPH12?
Avinash Desai
Asp.Net User
Re: OLEDB from VS2003 but NO OLEDB in VS2005??2/19/2008 7:54:11 AM

0/0

HI

May i know for which database you want it to connect......... 


Thanks & Regards
Avinash desai

Please remember to click "Mark as Answer" on this post if it helped you.
johnjalani
Asp.Net User
Re: OLEDB from VS2003 but NO OLEDB in VS2005??2/19/2008 8:30:49 AM

0/0

 sql server 2000 enterprise

 

my development software is VS2005

 

thanks for the reply., 


JFRBPH12?
Avinash Desai
Asp.Net User
Re: OLEDB from VS2003 but NO OLEDB in VS2005??2/19/2008 8:44:14 AM

0/0

Hi

You can use the OLEDB in Visual studio 2005 below is the sample example

Ex: 

 Dim constring As String = "......." 'your connection string in double quotes
 Dim con1 As OleDb.OleDbConnection = New OleDb.OleDbConnection(constring)
 Dim command As OleDb.OleDbCommand = New OleDb.OleDbCommand("", con1)
 con1.Open()
 command.ExecuteReader()
 
Feel free to ask  
  
Thanks & Regards
Avinash desai

Please remember to click "Mark as Answer" on this post if it helped you.
johnjalani
Asp.Net User
Re: OLEDB from VS2003 but NO OLEDB in VS2005??2/19/2008 9:12:39 AM

0/0

But when i try to type this

Avinash Desai:
Dim con1 As OleDb.OleDbConnection
 

 

the intelisense does not popup 


JFRBPH12?
Avinash Desai
Asp.Net User
Re: OLEDB from VS2003 but NO OLEDB in VS2005??2/19/2008 9:57:13 AM

0/0

Hi

Use following Import statement

 

<%@ Page Language="VB" AutoEventWireup="False"
EnableSessionState="False" EnableViewState="False" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.Odbc" %>
 
OR
 
Without importing those you can use following code
 
        Dim constring As String = "......." 'your connection string in double quotes
        Dim con1 As Data.OleDb.OleDbConnection = New Data.OleDb.OleDbConnection(constring)
        Dim command As Data.OleDb.OleDbCommand = New Data.OleDb.OleDbCommand("", con1)
        con1.Open()
        command.ExecuteReader()
 
 
  
 
 
Thanks & Regards
Avinash desai

Please remember to click "Mark as Answer" on this post if it helped you.
johnjalani
Asp.Net User
Re: OLEDB from VS2003 but NO OLEDB in VS2005??2/19/2008 11:30:05 AM

0/0

 Hi.,

 

Thanks for your answer, it really help me to know more about VS2005,

thanks again.,

SALAMAT PO., 


JFRBPH12?
7 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
A Developer's Guide to SQL Server 2005 Authors: Bob Beauchemin, Dan Sullivan, Pages: 997, Published: 2006
SQL Server 2005 Bible Authors: Paul Nielsen, Pages: 1293, Published: 2006

Web:
OLEDB from VS2003 but NO OLEDB in VS2005?? - ASP.NET Forums Re: OLEDB from VS2003 but NO OLEDB in VS2005?? 02-18-2008, 11:54 PM. Contact ... Re: OLEDB from VS2003 but NO OLEDB in VS2005?? 02-19-2008, 12:30 AM ...
developerWorks : Information Management : .NET Development with ... I now have both VS2003 fm 1.1 and VS2005 fm 2.0 installed on my computer. The problem is that my oledb connection in my VS2003 1.1 ...
MSDN Visual Studio Team System - Database Professionals Connecting ... For data sources exposed using OLE DB. .NET Framework Data Provider for ODBC ... But in Visual Studio 2005, I right-click objects in the Database pane and I ...
Exception of type 'System.Data.OleDb.OleDbException' - Visual ... OleDb.OleDbException' occurred in system.data.dll" at the line i have ... Visual Studio 2005 Data Walkthroughs · Visual Studio 2003 Data ...
db postgresql oledb devel updates pgoledb support 126523 I do not have any code but would love to test the GIS updates! Bruce ----- Original Message----- From: [email protected] ...
OLEDB Connection running like a dog. - technical discussion ... Hi there, I have an OLE DB Connection to an access MDB file on a seperate ... in IE the next time you load the page should be nice and quick, but it's not. ...
data oledb Most Recent Posts Also the server explorer in Visual Studio 2003 doesn’t fetch any record .... OleDb namespace. Even if the sp raises different error number but it gives ...
Re: Updates to PgOleDB: msg#00001 db.postgresql.oledb.devel Re: Updates to PgOleDB - Find Help in our db.postgresql.oledb.devel Forum. ... MSDN subscription, and I thus do not have VS 2005 (plus, its interface ...
DataAdapters in VS2005 : Microsoft, Visual Studio, 2005 3, Code works in VS2003 but not in VS2005 · ASP.Net Programming. 4, VS2005 DataSet Designer · C# .... Dim cbCommandBuilder As New OleDb.OleDbCommandBuilder ...
MySQL and MyOleDB - .NET VB I have try this Oledb it work with framework 1.1 or vs 2003 and dreamweaver the connection object does not show properly but it works. ...




Search This Site:










index of a datarow

any suggestions using request.applicationpath in the wwwroot

access version of dnn 2.0.3

problem with firefox and checkbox

set up dns

how to start?

dnn and ms cms?

session variables reference types, arraylists, strings, and possible bugs

processstartinfo.arguments with empty space as argument

lin numbers missing in asp.net(vb) 2.0 web project error messages

failed to update database "mydatabase.mdf" because the database is read-only

gooddogs repository module new release with skinning!

using specified user credentials for a stream reader

new sitemap providers in wss3

asp.net with coldfusion

custom datagrid - is this the best approach?

setting roles and groups without asp.net configuration utility

consume rss with rdf

anyone know why quantity and remove in checkout stops working?

open word document from .aspx page

runtime error

module requests

unable to set login.failuretextstyle.forecolor

membershipusercollection changepassword

syntax error in insert into statement

creating second db connection and calling it

custom validator problem (asp.net 1.1)

multiple browser support

changing imagemaps programmatically

xp sp2 with dnn

 
All Times Are GMT