How to use ASE Bulk Copy in c# to insert data into Sybase
I tried this code,
AseBulkCopy f = new AseBulkCopy(con);
f.BatchSize = 10000;
string query;
for(int i=0;i<10000;i++)
{
query = "insert into Sample3 values("+i+",'dd')";
AseCommand cmd = new AseCommand(query,con);
cmd.ExecuteNonQuery();
}
MessageBox.Show("Insertion Complete");
con.Close();
But it take same time as general please suggest any solution I am new about that