protected void btnSave_Click(object sender, EventArgs e)
 {
     ZJGEportAssetsDB.AssetsManage AM = new ZJGEportAssetsDB.AssetsManage();
     if (!AM.IsAssetsTypeExists(txtTypeName.Text, "abc"))//如果不存在该类型名称
     {
         AM.InsertAssetsType(txtTypeName.Text, txtTypeNode.Text);
         CallJsFun("window.close();");
     }
     else
         ShowJsMessage("该类型名称已经存在,请检查.");
 }