摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI.WebControls;using System.IO;using System.Globalization;namespace ADM.ProgressMonitor.DataObjects{ public class ErrHandler { public static void WriteError(Exception error) { ... 阅读全文
摘要:
using System;using System.Linq;using ADM.ProgressMonitor.DataObjects;using System.Collections.Generic;using System.Web.UI;using ADM.ProgressMonitor.WebControl;using System.Web.SessionState;using ADM.ProgressMonitor.BusinessRules;using System.Data.Objects;namespace ADM.ProgressMonitor.DataAccess{ ... 阅读全文
摘要:
/// <summary> /// 直线插值 /// </summary> /// <param name="linePoints">点击</param> /// <param name="x">X插值点</param> /// <returns>插值的Y值</returns> public static double? LineInterpolation(List<PointF> linePoints, double x) { int? idx1 阅读全文
摘要:
<script language="javascript" type="text/javascript"> function StartProgressBar() { ShowConfirmClose(false); var myExtender = $find('ModalPopupExtender1'); myExtender.show(); return true; } var pb_strConfirmCloseMessage; var pb_... 阅读全文
摘要:
AjaxFunc.MessageBox(Page, "5", "请选择至少一种型号!");using System;using System.Web.UI;/// <summary>/// AJAX帮助类/// </summary>public static class AjaxFunc{ /// <summary> /// 返回上一页 /// </summary> /// <param name="ps"></param> public static void 阅读全文
摘要:
if(!IsPostBack) 阅读全文
摘要:
/// <summary> /// 根据输入的判断条件进行多项查询 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Search_Click(object sender, EventArgs e) { var result = from u in context.SRC_DEF_PLATFORM sele... 阅读全文
摘要:
//分页初始化 btnFirst.Enabled = true; btnPrev.Enabled = true; btnNext.Enabled = true; btnLast.Enabled = true; LblCurrentIndex.Visible = true; LblPageCount.Visible = true; LblRecordCount.Visible = true; LblCurrentIndex... 阅读全文
摘要:
using (System.Data.Common.DbTransaction traction = context.Connection.BeginTransaction()) { try { SRC_DEF_BASELINE_ALART t = new SRC_DEF_BASELINE_ALART(); //新添加的SRC_DEF_BASELINE_ALART的ID位已有的加1 ... 阅读全文
摘要:
protected void RbIsManual_CheckedChanged(object sender, EventArgs e) { RadioButton rb = sender as RadioButton; if (rb != null) { GridViewRow row = rb.Parent.Parent as GridViewRow; Button confirm = (Button)row.FindControl("save")... 阅读全文