摘要: <script language="javascript">function addclick() {//点击触发addclick事件 var txtuserName = $("#txtuserName").val();//用jquery获取id为txtuserName的页面标记的value,存放在txtuserName变量里 $.ajax({ type: "POST",//ajax的方式为post(get方式对传送数据长度有限制) url: "/AjaxRequest/AddUser.ashx",// 阅读全文
posted @ 2012-02-22 18:17 xpwilson 阅读(410) 评论(0) 推荐(0) 编辑
摘要: publicclassCombination{List<string>Array=null;publicCombination(List<string>array){Array=array;}publicvoidPrintCombination(){foreach(stringsinCombinate(0)){Console.WriteLine(s);}}privateList<string>Combinate(intstartIndex){if(startIndex>=Array.Count)returnnewList<string>() 阅读全文
posted @ 2012-02-22 16:20 xpwilson 阅读(235) 评论(0) 推荐(0) 编辑