Click here to Skip to main content
16,005,206 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Encapsulation problem. Pin
cstrader23224-Jan-07 2:22
cstrader23224-Jan-07 2:22 
GeneralRe: Encapsulation problem. Pin
TwoFaced24-Jan-07 6:31
TwoFaced24-Jan-07 6:31 
GeneralRe: Encapsulation problem. Pin
cstrader23224-Jan-07 12:03
cstrader23224-Jan-07 12:03 
QuestionDataGridView RowState Issue Pin
nlindley723-Jan-07 10:22
nlindley723-Jan-07 10:22 
QuestionDatabases Pin
jady8423-Jan-07 7:52
jady8423-Jan-07 7:52 
AnswerRe: Databases Pin
Dave Kreskowiak23-Jan-07 9:06
mveDave Kreskowiak23-Jan-07 9:06 
GeneralRe: Databases Pin
jady8423-Jan-07 12:31
jady8423-Jan-07 12:31 
GeneralRe: Databases Pin
Dave Kreskowiak23-Jan-07 12:49
mveDave Kreskowiak23-Jan-07 12:49 
OK. I would suggest picking up a book on VB.NET and/or ADO.NET. Using the wizards for all of your data access just makes your code impossible to support since YOU don't know where the designer put any of the code that you need to change to get it to do what you want. Just about noone who does this for a living uses the wizards because they cranks out code that just needs to be completely overhauled anyway.


jady84 wrote:
the AcceptChangesDuringUpdate method doesnt seem to exist


This means that you're using the .NET Framework 1.x and VB.NET 2002/2003. That property doesn't exist in .NET 1.x.


jady84 wrote:
also the "myDataAdapt" I'm imagining i'd have to declare this first as a new data adpater?


No. You use the existing DataAdapter that was created in your code to load the data from the database. Where is that? I have no idea. The wizard put the code somewhere, I just can't tell you where.

jady84 wrote:
do i require a data set?


You already have one. The DataGrid is showing you the data that's in it. This is where all the changes to the data are going. The problem is you have to call the Update method on the DataAdapter that filled the DataSet object.



Dave Kreskowiak
Microsoft MVP - Visual Basic


QuestionOpening a form full screen Pin
jady8423-Jan-07 6:25
jady8423-Jan-07 6:25 
AnswerRe: Opening a form full screen Pin
mr_lasseter23-Jan-07 6:35
mr_lasseter23-Jan-07 6:35 
GeneralRe: Opening a form full screen Pin
Ahmed El-Badry24-Jan-07 1:40
Ahmed El-Badry24-Jan-07 1:40 
AnswerRe: Opening a form full screen Pin
nlarson1123-Jan-07 8:06
nlarson1123-Jan-07 8:06 
Questionalter table via sql - problem Pin
Smithers-Jones23-Jan-07 5:19
Smithers-Jones23-Jan-07 5:19 
AnswerRe: alter table via sql - problem Pin
Dave Kreskowiak23-Jan-07 5:29
mveDave Kreskowiak23-Jan-07 5:29 
AnswerRe: alter table via sql - problem Pin
Guffa23-Jan-07 5:51
Guffa23-Jan-07 5:51 
GeneralRe: alter table via sql - problem Pin
Smithers-Jones24-Jan-07 5:37
Smithers-Jones24-Jan-07 5:37 
GeneralRe: alter table via sql - problem Pin
Guffa24-Jan-07 14:30
Guffa24-Jan-07 14:30 
GeneralRe: alter table via sql - problem Pin
Smithers-Jones24-Jan-07 21:57
Smithers-Jones24-Jan-07 21:57 
Questioncreating many instance of a label Pin
charchabil0323-Jan-07 4:04
charchabil0323-Jan-07 4:04 
AnswerRe: creating many instance of a label Pin
mr_lasseter23-Jan-07 4:33
mr_lasseter23-Jan-07 4:33 
GeneralRe: creating many instance of a label Pin
charchabil0323-Jan-07 4:54
charchabil0323-Jan-07 4:54 
GeneralRe: creating many instance of a label Pin
mr_lasseter23-Jan-07 5:11
mr_lasseter23-Jan-07 5:11 
GeneralRe: creating many instance of a label Pin
charchabil0323-Jan-07 5:42
charchabil0323-Jan-07 5:42 
GeneralRe: creating many instance of a label Pin
mr_lasseter23-Jan-07 5:51
mr_lasseter23-Jan-07 5:51 
GeneralRe: creating many instance of a label Pin
charchabil0323-Jan-07 6:06
charchabil0323-Jan-07 6:06 

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.