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.

How do I format a SSN column in a datagrid?

Thread ID:

Created:

Updated:

Platform:

Replies:

35185 Sep 26,2005 04:33 AM Sep 26,2005 05:58 AM Windows Forms 1
loading
Tags: GridControl
Talat
Asked On September 26, 2005 04:33 AM

Hi, I''m having one column for SSN[Social Security Number]in my DataGrid which is of format Number(10). I need to format it to ###-###-#### in a DataGrid. Can anybody please tell me how to do that. Regards Talat

Administrator [Syncfusion]
Replied On September 26, 2005 05:58 AM

Hi Talat, Try Style.CellType = "MaskEdit"; Style.MaskEdit.Mask = "###-###-####"; Refer the sample in syncfusion\essential studio\3.2.1.0\Windows\Grid.Windows\samples\CellTypes\MaskEditCells Best regards, Stanley

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.

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.

;