I have this text box that accepts numbers, commas and periods.
Say this text box contains an input 14,500.00
I tried to convert this number to decimal s Convert.ToDecimal(textbox.text), but it does not work. Convert.ToDecimal()into text fields containing input that have a format XXXX.DD, are converted to decimal, but entered with a format X,XXX.DDor any input with thousands of separator results for the error:
Input string was not in correct format
Is it Convert.ToDecimal()suitable in this case?
ADDITIONAL INFORMATION:

Here is the form. If I click "Add", the product "Price" and "Quantity" should be displayed as "Amount" in the datagridview.
The syntax for the Add button includes:
DataRow dr;
dr = dsDetail.Tables["SalesOrderDetails"].NewRow();
dr["Amount"] = Convert.ToDecimal(txtSellingPrice.Text) * Convert.ToDecimal(txtQuantity.Text);
Amount SalesOrderDetails decimal(18,2)