We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using Format/Parse/ConvertEventArgs in DataGrid???

Thread ID:

Created:

Updated:

Platform:

Replies:

2926 Feb 20,2003 02:30 PM UTC Aug 8,2006 11:03 AM UTC Windows Forms 1
loading
Tags: FAQ
jim
Asked On February 20, 2003 02:30 PM UTC

I've found this question on several message boards with no answer: Say I've got a datagrid bound to a datatable. How can I use the format/parse delegates to mask the contents of a column? Say I want the "company_id" column to call my decodeCoID() function that will look up the name in a hash-table. I suspect I'm going to hadd a handler to some binding: AddHandler b.Format addressof decodeCoID The question really is: which binding do I add it to? How do I get a handle to the "company_id" databinding having only set the data source to a table with a "company_id" column? Help much appreciated!!! Jim

Mike Pollitt
Replied On August 8, 2006 11:03 AM UTC

I found this on MSDN: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318581


>I''ve found this question on several message boards with no answer:
>
>Say I''ve got a datagrid bound to a datatable.
>
>How can I use the format/parse delegates to mask the contents of a column?
>
>Say I want the "company_id" column to call my decodeCoID() function that will look up the name in a hash-table.
>
>I suspect I''m going to hadd a handler to some binding: AddHandler b.Format addressof decodeCoID
>
>The question really is: which binding do I add it to? How do I get a handle to the "company_id" databinding having only set the data source to a table with a "company_id" column?
>
>Help much appreciated!!!
>Jim

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;