Skip to main content

All Questions

Tagged with
0 votes
2 answers
13k views

Insert numerical (decimal) data from textbox values

I am confused by the following issue; I have a C# (WindowsForms) application which I connect to a SQL Server DB and have no problem to INSERT, SELECT, UPDATE... until I started to work with numerical ...
Panda's user avatar
  • 91
0 votes
2 answers
1k views

insert numeric records into ms access from c# asp.net

OleDbConnection conn = new OleDbConnection(connectionString); conn.Open(); OleDbCommand command = new OleDbCommand(); command.Connection = conn; command.CommandText = "INSERT INTO myTbl ([username],[...
user1337815's user avatar
0 votes
2 answers
9k views

How to insert null value for numeric field of a datatable in c#?

Consider My dynamically generated datatable contains the following fileds Id,Name,Mob1,Mob2 If my datatable has this it get inserted successfully, Id Name Mob1 Mob2 1 acp 9994564564 ...
ACP's user avatar
  • 35.3k