using
(SqlCommand
cmd
=
new
SqlCommand(
"insert into ..."
))
{
Api
.
SqlExec
(
Globals
.RepData,
cmd
);
}