Click here to Skip to main content
15,917,624 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: i want to print the datagridview content when i press the pirnt button Pin
Dave Kreskowiak27-Sep-06 2:23
mveDave Kreskowiak27-Sep-06 2:23 
GeneralRe: i want to print the datagridview content when i press the pirnt button Pin
Sourie23-Sep-08 6:53
Sourie23-Sep-08 6:53 
Questiondebugging a c# .dll Pin
gooseman11226-Sep-06 16:20
gooseman11226-Sep-06 16:20 
AnswerRe: debugging a c# .dll Pin
Christian Graus26-Sep-06 16:34
protectorChristian Graus26-Sep-06 16:34 
GeneralRe: debugging a c# .dll Pin
gooseman11226-Sep-06 16:41
gooseman11226-Sep-06 16:41 
GeneralRe: debugging a c# .dll Pin
Christian Graus26-Sep-06 16:44
protectorChristian Graus26-Sep-06 16:44 
GeneralRe: debugging a c# .dll Pin
gooseman11226-Sep-06 17:12
gooseman11226-Sep-06 17:12 
QuestionDatabase Issues: Can't save a thing! Pin
The ANZAC26-Sep-06 11:45
The ANZAC26-Sep-06 11:45 
Im using vs 2005 to design a database driven program. I went through a video tutorial and designed a database example that worked fine, so i used the exact same structure to design my own.
I have a list box that recieves the list of Groups(Its for a field trip schedule), then each control on the form, the list box, text boxes for group member names etc. is databound to a binding source, this binding source is in turn, bound to the instance of my dataset.

In the tutorial we used this code to save the data:

Me.BindingSource1.EndEdit(me.MyCompanyDataSet1.Customer)
Me.CustomerTableAdapter1.Update(Me.MyCompanyDataSet1.Customer)

and it worked fine, i have added this code, but changed the names to my own:

Me.GroupsBindingSource.EndEdit()
Me.GroupsTableAdapter1.Update(Me.GroupsDataSet1.Groups)

but it still doesn't work. When I load the form i fill the instance of the table adapter that's on my form via:

Me.GroupsTableAdapter1.Fill(Me.GroupsDataSet1.Groups)

Which in turn fills my Listbox and controls. When I change something in runtime, eg Group Name, the change shows on my onscreen data, but when i close and reopen the data its all back to the default and nothing has been permanently saved.

Thanks in advance for your help.

Posted by The ANZAC

AnswerRe: Database Issues: Can't save a thing! Pin
Christian Graus26-Sep-06 12:30
protectorChristian Graus26-Sep-06 12:30 
GeneralRe: Database Issues: Can't save a thing! Pin
The ANZAC26-Sep-06 23:18
The ANZAC26-Sep-06 23:18 
GeneralRe: Database Issues: Can't save a thing! Pin
Dave Kreskowiak27-Sep-06 2:22
mveDave Kreskowiak27-Sep-06 2:22 
GeneralRe: Database Issues: Can't save a thing! Pin
The ANZAC27-Sep-06 21:35
The ANZAC27-Sep-06 21:35 
GeneralRe: Database Issues: Can't save a thing! Pin
Dave Kreskowiak28-Sep-06 3:45
mveDave Kreskowiak28-Sep-06 3:45 
QuestionRegardin displaying parent node Pin
praveen kumar mahto26-Sep-06 11:30
praveen kumar mahto26-Sep-06 11:30 
AnswerRe: Regardin displaying parent node Pin
Dave Kreskowiak27-Sep-06 9:10
mveDave Kreskowiak27-Sep-06 9:10 
QuestionLooping through controls using FOR EACH Pin
MatthysDT26-Sep-06 5:34
MatthysDT26-Sep-06 5:34 
AnswerRe: Looping through controls using FOR EACH Pin
mr_lasseter26-Sep-06 6:53
mr_lasseter26-Sep-06 6:53 
QuestionPlaying MP3 file Pin
mido1326-Sep-06 4:37
mido1326-Sep-06 4:37 
AnswerRe: Playing MP3 file Pin
Christian Graus26-Sep-06 12:32
protectorChristian Graus26-Sep-06 12:32 
Questionvertical tab control Pin
tatapower26-Sep-06 4:02
tatapower26-Sep-06 4:02 
QuestionNEVER_Minimizable form Pin
K edar V26-Sep-06 3:34
K edar V26-Sep-06 3:34 
AnswerRe: NEVER_Minimizable form Pin
Dave Sexton26-Sep-06 5:02
Dave Sexton26-Sep-06 5:02 
GeneralRe: NEVER_Minimizable form Pin
K edar V26-Sep-06 19:58
K edar V26-Sep-06 19:58 
Questiondatagrid columnheader alignment Pin
Smithers-Jones26-Sep-06 3:16
Smithers-Jones26-Sep-06 3:16 
AnswerRe: datagrid columnheader alignment Pin
Dave Sexton26-Sep-06 5:04
Dave Sexton26-Sep-06 5:04 

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.