private void linkLabel8_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { AllEvaluations frm = new AllEvaluations(); this.Hide(); frm.Show(); }
private void button2_Click(object sender, EventArgs e) { this.Hide(); AllEvaluations frm = new AllEvaluations(); frm.Show(); }
private void button1_Click(object sender, EventArgs e) { //if() if (lblname.Text == "" && lblobtained.Text == "" && lbltotalmarks.Text == "" && lbltotalwieghtage.Text == "") { string os = "Update Evaluation SET Name = '" + txtname.Text + "', TotalMarks = '" + Convert.ToInt32(txttotalmarks.Text) + "',TotalWeightage = '" + Convert.ToInt32(txttotalwieghtage.Text) + "' where Id = '" + dataGridView1.CurrentRow.Cells["EvaluationID"].Value + "'"; string oss = "Update GroupEvaluation SET ObtainedMarks = '" + txtobtained.Text + "' where EvaluationId = '" + dataGridView1.CurrentRow.Cells["EvaluationID"].Value + "'"; dbConnection.getInstance().exectuteQuery(os); dbConnection.getInstance().exectuteQuery(os); MessageBox.Show("Updated"); this.Hide(); AllEvaluations frm = new AllEvaluations(); frm.Show(); } else { lblerror.Text = "Enter Correct Data"; lblerror.Visible = true; } }
private void linkLabel8_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { AllEvaluations r = new AllEvaluations(); r.Show(); }