摘要:
1.创建自定义的特性类(继承Attribute类)。 codingas below[AttributeUsage(AttributeTargets.Property,AllowMultiple=false,Inherited=false)] public class FileVerification:Attribute { private string _regexStr; public str... 阅读全文
摘要:
select : $("#id").val()选择当前选择的值, ==null 表示没有当前没有别选择; $("#id")[0].selectIndex = 0 第一项默认被选择 多选: $("#" + str.id).find('option:selected').each(function(i) { alert(this.innerText); 获取多个被选择的项c... 阅读全文
摘要:
1.select "databae=> configer data conections" 1. select "create new data source"; 2. select "user data source"; 3. select "microsoft odbc for oracle"; 4. (1) ... 阅读全文
摘要:
1.必须应用System.serviceModel.Web;2.应用System.Runtime.Serialization.Json;System.Runtime.Serialization;3.coding /// <summary> /// 序列化 /// </summary> /// <typeparam name="Entity"></typep... 阅读全文
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title&g... 阅读全文
摘要:
http://www.cnblogs.com/yank/archive/2008/09/24/1101823.html 阅读全文
摘要:
void dgResult_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex == 0 && e.RowIndex != -1) { using ( Brush gridBrush = new SolidBrush(this.dgResult.GridColor)... 阅读全文
摘要:
stringstr = "{\"wang\":\"wang\",\"tiang\":\"tttt\"}XmlHttpHelper.transmit(true, "post", "text", "WebForm1.aspx", call, null);function call(respones) {var p = eval("(" + respones + ")");alert(p.wang);}... 阅读全文
摘要:
select top 1800 * from AJ_AQJDSBwhere id >(select max(id) from (select top 2000 id from AJ_AQJDSB order by id) b)select top 1800 * from AJ_gcxx where id not in (select top 2000 id from AJ_gcxx orde... 阅读全文