I am using oracle as my back end and i write insert query as follows, i don\'t know is it correct way are not,
insert into Emp_table (SL_NO,empane,empid,sala
Microsoft deprecated their Oracle provider (System.Data.OracleClient) so use a third party provider such as Oracle's Data Provider for .NET. The code example below is essentially the same as FSX's answer, just without the convenience of the AddWithValue method.
command.Parameters.Add(new OracleParameter("SL_NO", 1));
command.Parameters.Add(new OracleParameter("empane", "sree"));