if (((CheckBox)item.Cells[0].Controls[1]).Checked==true)
{
mvarCompanySql=mvarCompanySql+" delete from [pTelRefer] where BillID='" +((CheckBox)item.Cells[0].Controls[1]).ToolTip.ToString()+"'";
mvarCompanySql+=" delete from Reg_Set where BillID='" +((CheckBox)item.Cells[0].Controls[1]).ToolTip.ToString()+"'";
j--;
}