private void dcnogenrate() { try { int i = Convert.ToInt32(dl.get_dc_no(bl)); txt_dc_no.Text = Convert.ToString(i + 1); } catch (Exception) { } }