public void ServicesArea() { string voterid = nationalIdTextBox.Text; for (int i = 1; i < centerManager.GetNoofServices(voterid); i++) { CreateGridView(); } }
protected void voterIdTextBox_TextChanged(object sender, EventArgs e) { string voterId = voterIdTextBox.Text; noofserviceTextBox.Text = int.Parse(centerManager.GetNoofServices(voterId).ToString() + 1).ToString(); }