Asp.net datagrid - format meters to feet

EvemEnronse

New Member
Using asp.net 4.5, I have a gridview bound to a sqlserver table.I have a column of type float that contains a distance value in meters.However, I'd like to show the value to the user in feet with ft at the end.Like: 3.28 ftIs there an opportunity to do a complex conversion of what the user sees?Also, if the user types in a value of "3.28 ft" I'd like to convert it into meters and store it into the database. Is this also possible?If either of these are possible, can you point me in the general direction of how this can be done??Thanks!
 
Back
Top