PC Review


Reply
Thread Tools Rate Thread

CurrencyManager_ItemChanged Event Question.

 
 
Manuel Canas
Guest
Posts: n/a
 
      8th Jul 2004
Hi There,

I have a windows form that uses binding through a currency manager. A
dataset fills tan Adapter and everything thing is good in life. A list box
gets populated with a list of names and that works good, whenever I click on
a item on the list box the data on the side updates.

This is the problem that I'm getting though, When I change some data on the
right, let's say the lastname or first name that does not get reflected on
the listbox, for that, I have included this code on the
currencymanager_itemchanged event.

Private Sub mCurrencyManager_ItemChanged(ByVal sender As Object, ByVal e As
System.Windows.Forms.ItemChangedEventArgs) Handles
mCurrencyManager.ItemChanged
Dim combined_name As String

Dim data_row As DataRow

combined_name = txtLastName.Text & ", " & txtFirstName.Text

data_row = mCurrencyManager.Current.Row

If data_row.Item("FullName") & "" <> combined_name Then

data_row.Item("FullName") = combined_name

End If

End Sub

The thing is, this code should fire up whenever I change and item on the
currencymanager right? but It does not, it ignores it totally.

Can anybody tell me what Am I doing wrong here? give me some hints on how I
can accomplish this?

Thanks in advance.

Manny




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Managed Event Question - Static Event =?Utf-8?B?TkVXMi5ORVQ=?= Microsoft VC .NET 3 30th Mar 2007 12:04 AM
Newbie Question: One event triggers two event handlers MattNC Microsoft C# .NET 2 30th Mar 2005 11:44 PM
CurrencyManager_ItemChanged Question. Manuel Canas Microsoft ADO .NET 0 8th Jul 2004 08:11 PM
Question on Event Manager Info Event ID 26 Lori Kuiper Windows XP Hardware 0 21st May 2004 02:38 PM
Multiple Event Handlers for a Single Event - Newbie Question. Andy Cooper Microsoft VB .NET 8 2nd Jan 2004 04:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:46 AM.