private void save_db(){
SqlConnection conn = new SqlConnection(ConfigurationSettingsAppSettings[]ToString());
SqlCommand comm = new SqlCommand();
connOpen();
SqlTransaction rollbk= connBeginTransaction();
commConnection=conn;
commTransaction=rollbk;
try
{
for(i){
commCommandText=insert into ;
commExecuteNonQuery();
}
rollbkCommit();
}
catch(Exception exp)
{
rollbkRollback();
ResponseWrite(save_fail);
return;
}
finally
{
connClose();
}
ResponseWrite(save_ok);
}