This is something I cant figure out so I thought I would post it here to try and get an answer.
ASP.NET. I am doing a simple INSERT Statement into a SQL Table. 2 Fields are MONEY. I convert the textboxes using
TextBox.Text = FormatCurrency(TextBox.Text)
When trying to INSERT the records into the table I get an error saying to Convert varchr to currency. I cant figure out why?? if the textbox is already formatted as currency I think SQL should already accept it correct??
Any help would be appreciated
Thanks
ASP.NET. I am doing a simple INSERT Statement into a SQL Table. 2 Fields are MONEY. I convert the textboxes using
TextBox.Text = FormatCurrency(TextBox.Text)
When trying to INSERT the records into the table I get an error saying to Convert varchr to currency. I cant figure out why?? if the textbox is already formatted as currency I think SQL should already accept it correct??
Any help would be appreciated
Thanks