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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I format a SSN column in a datagrid?

Thread ID:





35185 Sep 26,2005 08:33 AM UTC Sep 26,2005 09:58 AM UTC WinForms 1
Tags: GridControl
Asked On September 26, 2005 08:33 AM UTC

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 09:58 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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