I have gridbound column Col_A and COL_B and dataformat set to currency.Both these columns are integer . I have embeded udpate statement in sqldatasource to update both these columns. Based on business rule I open only one column for editing before update.
If COL B is open for update(COL A is read only in this scenario), When I execute update statement COL A is reading the formatted value and passing to SQL staement i.e formatted currency value and this gives database error because COL A is integer type.
1) How can i get the just the value of COL A (not the formmated one for example , I need 3000 not 3,000). Extravalues in edit mode not working
2) How do i put mask for editable column ,i.e the user can type 5,000 rather than 5000 , but the value read is 5000
Thanks
If COL B is open for update(COL A is read only in this scenario), When I execute update statement COL A is reading the formatted value and passing to SQL staement i.e formatted currency value and this gives database error because COL A is integer type.
1) How can i get the just the value of COL A (not the formmated one for example , I need 3000 not 3,000). Extravalues in edit mode not working
2) How do i put mask for editable column ,i.e the user can type 5,000 rather than 5000 , but the value read is 5000
Thanks