Click here to Skip to main content
15,916,463 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help with a script [EDITED] Pin
Anonymous23-Dec-04 16:07
Anonymous23-Dec-04 16:07 
GeneralRe: Help with a script [EDITED] Pin
Dave Kreskowiak23-Dec-04 16:17
mveDave Kreskowiak23-Dec-04 16:17 
GeneralColumns in a string in VB.NET Pin
Chaos Machine16-Dec-04 18:11
Chaos Machine16-Dec-04 18:11 
GeneralRe: Columns in a string in VB.NET Pin
OICU81216-Dec-04 18:37
OICU81216-Dec-04 18:37 
GeneralDatabase access through VB.Net Pin
nyjcr16-Dec-04 14:39
nyjcr16-Dec-04 14:39 
GeneralRe: Database access through VB.Net Pin
Chaos Machine16-Dec-04 18:06
Chaos Machine16-Dec-04 18:06 
GeneralRe: Database access through VB.Net Pin
nyjcr17-Dec-04 6:34
nyjcr17-Dec-04 6:34 
GeneralRe: Database access through VB.Net Pin
OICU81216-Dec-04 18:23
OICU81216-Dec-04 18:23 
Drop an OleDbDataAdapter on a form and use the wizard to connect to the access DB and select a table that you want to view and it will auto-generate all the select, insert, delete and updates for the table. Right click the OleDbDataAdapter and choose Generate DataSet. Add a DataGrid to your form and set the DataSource and DataMember for the DataGrid in the properties Grid. ON the form load event add:

Me.OleDbDataAdapter1.Fill(DataSet1) '<-- Assuming you used the default autogenerated names.


I suggest reading thru MSDN and just search using DataSet, DataView, BindingManager, BindingManagerBase, CurrencyManager, Calculated Column, Strongly Typed DataSet. You'll need to know what all these things are if you are ever to make anything work. MSDN & Google is your best source really for learning just lookup those words.

Don't buy the Book "Programing MicroSoft VisualBasic.Net For MicroSoft Access Databases", it's absolute garbage.

Use the "DataForm Wizard" by selecting File|Add new item and look at how it builds a form with navigation buttons.

I've been learning all this over the last few weeks, and I must say it's quite FUSTRATING to say the least. It shouldnt be this hard to connect to data and work with it without using third party solutions.

I've been playing with the 2005 vb.net Beta and It looks like it's going to be much much easier to work with.
GeneralRe: Database access through VB.Net Pin
nyjcr17-Dec-04 6:37
nyjcr17-Dec-04 6:37 
GeneralRe: Database access through VB.Net Pin
Anonymous17-Dec-04 8:03
Anonymous17-Dec-04 8:03 
GeneralRe: Database access through VB.Net Pin
OICU81217-Dec-04 19:08
OICU81217-Dec-04 19:08 
GeneralTextBox Alpha blending Pin
Iasonic16-Dec-04 12:53
Iasonic16-Dec-04 12:53 
QuestionMultiple Resource Files? Pin
TAlvord16-Dec-04 12:46
TAlvord16-Dec-04 12:46 
General.DTD write error after modifying XML with XmlDocument Pin
GreenEyes16-Dec-04 10:53
GreenEyes16-Dec-04 10:53 
Generalurgent custom control with collection of controls Pin
ddsmith16-Dec-04 9:33
ddsmith16-Dec-04 9:33 
GeneralRe: DB Connection Question Pin
Dave Kreskowiak16-Dec-04 7:07
mveDave Kreskowiak16-Dec-04 7:07 
GeneralRe: DB Connection Question Pin
marrik16-Dec-04 8:17
marrik16-Dec-04 8:17 
GeneralHide Checkbox in Checkbox VB Pin
shinay16-Dec-04 5:55
shinay16-Dec-04 5:55 
GeneralRe: Hide Checkbox in Checkbox VB Pin
shinay16-Dec-04 5:56
shinay16-Dec-04 5:56 
GeneralRe: Hide Checkbox in Checkbox VB Pin
Wjousts16-Dec-04 6:15
Wjousts16-Dec-04 6:15 
GeneralRe: Hide Checkbox in Checkbox VB Pin
shinay16-Dec-04 6:18
shinay16-Dec-04 6:18 
GeneralRe: Hide Checkbox in Checkbox VB Pin
shinay16-Dec-04 6:29
shinay16-Dec-04 6:29 
GeneralRe: Hide Checkbox in Checkbox VB Pin
Wjousts16-Dec-04 6:29
Wjousts16-Dec-04 6:29 
GeneralRe: Hide Checkbox in Checkbox VB Pin
shinay16-Dec-04 6:33
shinay16-Dec-04 6:33 
Generaldatabase help Pin
GaryKoh16-Dec-04 5:49
GaryKoh16-Dec-04 5:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.