摘要: AJAX无刷新 三级联动 阅读全文
posted @ 2012-06-28 11:23 程序猿网友666 阅读(346) 评论(0) 推荐(0)
摘要: 1、用字符串分隔:usingSystem.Text.RegularExpressions;stringstr="aaajsbbbjsccc";string[]sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase);foreach(stringiinsArray)Response.Write(i.ToString()+"<br>");输出结果:aaabbbccc2、用多个字符来分隔:stringstr="aaajbbbscccjdddseee";strin 阅读全文
posted @ 2012-06-05 12:27 程序猿网友666 阅读(650) 评论(0) 推荐(0)
摘要: 后台代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;using DM;using BLL;namespace UI{ public partial class AddUserImageInfo : Form { UserImageInfoBLL bll = 阅读全文
posted @ 2012-05-30 16:26 程序猿网友666 阅读(281) 评论(0) 推荐(0)
摘要: /// <summary> /// 为HttpCookie创建kye,hash存cookie对象的key和值 /// </summary> /// <param name="strKey"></param> /// <param name="hash"></param> public static void AddCookie(string strKey, Hashtable hash) { HttpCookie cookie = HttpContext.Current.R... 阅读全文
posted @ 2012-05-30 11:35 程序猿网友666 阅读(497) 评论(0) 推荐(0)
摘要: ///一般在Repeater下面的按钮什么的 在后天都调用不到,本来想使用FindControl的 ,但是怎么都不行!最请教了高人,现在与大家分享一下!!代码如下...前台代码:<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" OnClientClick="return confirm('确定要删除此信息?');" CommandArgument='<%#Eval("S 阅读全文
posted @ 2012-05-29 15:11 程序猿网友666 阅读(590) 评论(0) 推荐(0)