protected void btnCreate_Click(object sender, System.EventArgs e)
 {
     try
     {
         Bip.Components.DocSourceEnt entity = new Bip.Components.DocSourceEnt();
         entity.New();
         entity.Name = txtName.Text;
         entity.Create();
         entity.Dispose();
         Response.Redirect((String)ViewState["UrlReferrer"], true);
     }
     catch (Exception ex)
     {
         ProcessException(ex);
         return;
     }
 }
Ejemplo n.º 2
0
		protected void btnCreate_Click(object sender, System.EventArgs e)
		{
			try
			{

				Bip.Components.DocSourceEnt entity = new Bip.Components.DocSourceEnt();	
				entity.New();
				entity.Name = txtName.Text;
				entity.Create();
				entity.Dispose();
				Response.Redirect((String) ViewState["UrlReferrer"],true);
			}
			catch(Exception ex)
			{
				ProcessException(ex);
				return;
			}



		}