using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
public static class DPage
{
#region 提取控件值
/////
///// 读取表单控件值
/////
///// 控件
//public static string GetValue(this TextBox control)
//{
// if (control.IsNull())
// {
// return String.Empty;
// }
// return control.Text.Trim().FilterHTML();
//}
#endregion
#region 设置控件值
/////
///// 设置表单控件值
/////
///// 控件
//public static void SetValue(this TextBox control, string val)
//{
// if (control.IsNull())
// {
// return;
// }
// control.Text = val.Trim();
//}
#endregion
}