Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am doing a project for myself to give to my boss just to refresh and increase my skills in vb and to learn .net.

 

my first question is how to incorporate a SQL database, but that doesnt have to be answered here I'll search the forums.

 

the second i didn't know how or what to search for in the forums for the answer. if i use either SQL, access, or anything else as a database, does the recipient of my program need either one of these programs for it to work or do they need some kind of user installation package that would allow them to make use of databases given to them in a particular format?

  • *Gurus*
Posted

For Microsoft Access databases you can simply distribute the .mdb file, and make sure the user has a compatible version of MDAC installed. You'd then use the System.Data.OleDb namespace to interact with one.

 

Things aren't quite the same with SQL Server though. You can't just distribute a file. The user needs to have SQL Server installed, at the very least have access to a server running it.

Posted

im trying to learn, looking up resources on the net and trying to download tutorials from kazaa and planet source code but i cannot seem to get the hang of connecting a datagrid to a database, and displaying the information in the database on the datagrid.

 

i want to use access 2000, so i have to use the oleDb.oleDbConnection(). but i can't seem to udnerstand anything farther than that.

 

i tried tools connecto to a db, and using the Jet 4.0 Ole to connect to the db, and it successfully connected. i than just tried to drag/drop the actual table listed onto the datagrid itself hoping this would work but under my form a OleDbConnection1 textbox looking thing appears along with a OleDbAdapter1. whats exactly happening?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...