Insert Update Edit Delete Record In Gridview Using Commas
How to insert/update/delete in gridview (CRUD) Sudhakar Dasoju / February 13, 2014 Gridview is the most basic and important control to display data in dot net based application.
Hi, Hopefully you can help me with this problem. Any help will be greatly appreciated.
I have the following code: <%@ Page Language='VB' MasterPageFile='~/MasterPages/Admin.master' AutoEventWireup='false' CodeFile='Default.aspx. Kerbal Space Program 0.90.0 Beta Linux more. vb' Inherits='Test_Default' title='Untitled Page'%>The Price and ItemPrice property is of decimal data type. When it renders the gridview the format will be like '39,95' (comma instead of point) because my UI culture is Danish. When I edit the Price or ItemPrice field and press Update, I get the following error because it cannot convert '39,95' to a decimal value: Input string was not in a correct format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: Input string was not in a correct format. Source Error: An unhandled exception was generated during the execution of the current web request.