I
ibiza
Hi all,
I've binded some data from a DB in a gridview and one of the values is
a float. Even if the flot is represented as 4.2 in the DB, it is
rendered as 4,2 in the gridview, with a comma. When I edit the row, it
is still a comma in the editable textbox. And if I click on Update that
way, it gives an error, that the input value cannot be converted to a
float, when doing the UPDATE. If I change the comma for a point, it
works, which I want.
Here is my question : How can I ensure that the data displayed in the
gridview, editable or not, renders with a point and not a comma?
I've been googling a lot without finding an answer yet...
Thank you very much!
ibiza
I've binded some data from a DB in a gridview and one of the values is
a float. Even if the flot is represented as 4.2 in the DB, it is
rendered as 4,2 in the gridview, with a comma. When I edit the row, it
is still a comma in the editable textbox. And if I click on Update that
way, it gives an error, that the input value cannot be converted to a
float, when doing the UPDATE. If I change the comma for a point, it
works, which I want.
Here is my question : How can I ensure that the data displayed in the
gridview, editable or not, renders with a point and not a comma?
I've been googling a lot without finding an answer yet...
Thank you very much!
ibiza