Click here to Skip to main content
16,004,924 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Is this Normal !? The mehod declaration Pin
Xmen Real 4-Jan-10 3:08
professional Xmen Real 4-Jan-10 3:08 
GeneralRe: Is this Normal !? The mehod declaration Pin
Luc Pattyn4-Jan-10 4:02
sitebuilderLuc Pattyn4-Jan-10 4:02 
GeneralRe: Is this Normal !? The mehod declaration Pin
Xmen Real 4-Jan-10 4:05
professional Xmen Real 4-Jan-10 4:05 
GeneralThis is the question Pin
DaveyM694-Jan-10 7:54
professionalDaveyM694-Jan-10 7:54 
GeneralJeopardy Pin
Luc Pattyn4-Jan-10 8:09
sitebuilderLuc Pattyn4-Jan-10 8:09 
GeneralRe: Jeopardy Pin
DaveyM694-Jan-10 8:13
professionalDaveyM694-Jan-10 8:13 
QuestionToobar and menubar appearance in .Net Applications Pin
Radhakrishnan G.31-Dec-09 18:20
Radhakrishnan G.31-Dec-09 18:20 
Questionproblem saving changes to database Pin
Twalton4631-Dec-09 7:09
Twalton4631-Dec-09 7:09 
I'm using mysql database..I have forms setup main form has datagrid..you can add to this datagrid and save to datbase with my add form and it works fine. I can delete from the datagrid and it works fine...when I select an account to edit is when I have my issue...form edit brings up the selected account but when I save my changes it doesn't save to the selected account it changes my first account in the database...Help...here is a sample of my code
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
' 'Save changes to database and exit
Dim intResponse As String
intResponse = MsgBox("Do you want to SAVE Changes to this record?", vbOKCancel, "Save?")
If intResponse = vbOK Then

PbCustomerDS.customer(0).Address_Line1 = Address_Line1TextBox.Text
PbCustomerDS.customer(0).Location = LocationTextBox.Text
PbCustomerDS.customer(0).Attention = AttentionTextBox.Text
PbCustomerDS.customer(0).City = CityTextBox.Text
PbCustomerDS.customer(0).State = StateTextBox.Text
PbCustomerDS.customer(0).Zip = ZipTextBox.Text
PbCustomerDS.customer(0).Phone = PhoneMaskedTextBox.Text
PbCustomerDS.customer(0).Bill_To = Bill_ToTextBox.Text
PbCustomerDS.customer(0).Attention_2 = Attention_2TextBox.Text
PbCustomerDS.customer(0).B_address = B_addressTextBox.Text
PbCustomerDS.customer(0).B_City = (B_CityTextBox.Text)
PbCustomerDS.customer(0).B_State = B_StateTextBox.Text
PbCustomerDS.customer(0).B_Zip = B_ZipTextBox.Text
PbCustomerDS.customer(0).B_Phone = B_PhoneMaskedTextBox.Text
PbCustomerDS.customer(0).Comments = CommentsTextBox.Text
PbCustomerDS.customer(0).Updated = UpdatedLabel1.Text

Me.Validate()
Me.CustomerBindingSource.DataSource.GetType()
Me.CustomerBindingSource.EndEdit()
Me.CustomerTableAdapter.Update(PbCustomerDS)
Me.TableAdapterManager.UpdateAll(PbCustomerDS)

Me.Close()
End If
If vbCancel Then
Exit Sub
End If

End Sub
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

can someone please help me with my issue?
QuestionMembership authentication Pin
gautam.munish@gamil.com30-Dec-09 19:43
gautam.munish@gamil.com30-Dec-09 19:43 
AnswerRe: Membership authentication Pin
Dimitri Witkowski30-Dec-09 21:52
Dimitri Witkowski30-Dec-09 21:52 
QuestionRegular Expression Help Pin
Paul Selormey30-Dec-09 12:39
Paul Selormey30-Dec-09 12:39 
AnswerRe: Regular Expression Help Pin
Dimitri Witkowski30-Dec-09 22:00
Dimitri Witkowski30-Dec-09 22:00 
GeneralRe: Regular Expression Help Pin
Paul Selormey30-Dec-09 22:22
Paul Selormey30-Dec-09 22:22 
QuestionTwo hashsets same values, different HashCodes? Pin
ThomasPep29-Dec-09 20:32
ThomasPep29-Dec-09 20:32 
AnswerRe: Two hashsets same values, different HashCodes? Pin
Luc Pattyn30-Dec-09 1:00
sitebuilderLuc Pattyn30-Dec-09 1:00 
GeneralRe: Two hashsets same values, different HashCodes? Pin
ThomasPep30-Dec-09 2:20
ThomasPep30-Dec-09 2:20 
GeneralRe: Two hashsets same values, different HashCodes? Pin
Luc Pattyn30-Dec-09 3:03
sitebuilderLuc Pattyn30-Dec-09 3:03 
GeneralRe: Two hashsets same values, different HashCodes? Pin
Gideon Engelberth30-Dec-09 13:22
Gideon Engelberth30-Dec-09 13:22 
GeneralRe: Two hashsets same values, different HashCodes? [modified] Pin
ThomasPep30-Dec-09 20:29
ThomasPep30-Dec-09 20:29 
QuestionHow to propagate an exception raised in a worker thread to the UI thread Pin
DanielDaMeda29-Dec-09 10:21
DanielDaMeda29-Dec-09 10:21 
AnswerRe: How to propagate an exception raised in a worker thread to the UI thread Pin
ProtoBytes29-Dec-09 11:13
ProtoBytes29-Dec-09 11:13 
AnswerRe: How to propagate an exception raised in a worker thread to the UI thread Pin
john_masen6-Jan-10 2:11
john_masen6-Jan-10 2:11 
AnswerRe: How to propagate an exception raised in a worker thread to the UI thread Pin
David Skelly6-Jan-10 5:41
David Skelly6-Jan-10 5:41 
QuestionUsing SMTP client of .net in proxy connections to send email Pin
JayKhatri28-Dec-09 19:52
JayKhatri28-Dec-09 19:52 
AnswerRe: Using SMTP client of .net in proxy connections to send email Pin
Dave Kreskowiak30-Dec-09 7:01
mveDave Kreskowiak30-Dec-09 7:01 

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.