private void cmbStatus_SelectedIndexChanged(object sender, EventArgs e) { if (dataIsBuild) { billC.SetStatusId(billC, ((DataRowView)cmbStatus.SelectedItem).Row["name"].ToString()); } dataIsBuild = true; }
private void btnActive_Click(object sender, EventArgs e) { billC.SetStatusId(billC, "Active"); RefreshGrid(); }