Hi,
I have a grid with the usual stuff, Name, Phone Number and Address.
I want to display the PhoneNumber in the 123-1234 format instead of how it is being stored in the db field which is 1231234.
For a column in the grid, you cannot select a masked text box and can only select a text box. Though there is a dataviewstyle format property ....but i could not get this work correctly, ( assuming this is the correct path )..
so, how do you format a value in the grid that is a databound column such that the format value is not saved to the db and formats on load ?
I have a grid with the usual stuff, Name, Phone Number and Address.
I want to display the PhoneNumber in the 123-1234 format instead of how it is being stored in the db field which is 1231234.
For a column in the grid, you cannot select a masked text box and can only select a text box. Though there is a dataviewstyle format property ....but i could not get this work correctly, ( assuming this is the correct path )..
so, how do you format a value in the grid that is a databound column such that the format value is not saved to the db and formats on load ?