protected void BtnSubmit_Click(object sender, EventArgs e) { try { A2ZLSECURITYDTO objDTO = new A2ZLSECURITYDTO(); objDTO.LSecurityCode = Converter.GetSmallInteger(txtcode.Text); objDTO.LSecurityDescription = Converter.GetString(txtDescription.Text); int roweffect = A2ZLSECURITYDTO.InsertInformation(objDTO); if (roweffect > 0) { txtcode.Focus(); clearinfo(); dropdown(); gvDetail(); } } catch (Exception ex) { throw ex; } }