Ejemplo n.º 1
0
 protected void btnnew_Click(object sender, EventArgs e)
 {
     Whitfieldcore wUser = new Whitfieldcore();
     wUser.DeleteProjectClient(Convert.ToInt32(ViewState["EstNum"].ToString()));
     //ArrayList chkArray = GetSelectedItems(ChkProjContacts
     for (int i = 0; i < ChkPrjClient.Items.Count; i++)
     {
         if (ChkPrjClient.Items[i].Selected)
             wUser.PopulateProject_client(Convert.ToInt32(ViewState["EstNum"].ToString()), Convert.ToInt32(ChkPrjClient.Items[i].Value));
     }
     lblMsg.Text = "Your record is added successfully.";
 }