protected void rptpackage_ItemCommand(object source, RepeaterCommandEventArgs e) { if (e.CommandName == "DeleteData") { using (order obj = new order()) { obj._id = Convert.ToInt64(e.CommandArgument.ToString()); obj.order_delete(); FillRepeater(); } } }