- 博客(9)
- 收藏
- 关注
转载 .net MessageBox后台提示
方法一:MessageBox("1", "This Talkic was successfully followed."); public void MessageBox(string strKey, string strInfo) { if (!ClientScript.IsClientScriptBlockRegistered(strKey))
2011-12-22 16:58:38 403
原创 google广告插入
google_ad_client = "pub-2731477260799296"; /* 728x90, created 11/12/09 */ google_ad_slot = "6932397851"; google_ad_width = 72
2011-12-22 14:36:29 485
原创 .net session存取+页面跳转
Session["Tag"] = TextBox_Search.Text; //session 存String Tag = Session["Tag"].ToString(); //session 取 Response.Redirect("~/JackDonkeyMyPersonalFeedSearch.aspx"); //页面跳转
2011-12-16 17:45:59 283
转载 C#正则让文本中的所有网址自动变成连接
public static string ShowUrls(string text) { Regex linkRegex = new Regex(" href\\s*=\\s*(?:(?:\\\"(?[^\\\"]*)\\\")|(?[^\\s]* ))", RegexOptions.IgnoreCase | RegexOptions.
2011-12-15 17:46:18 429
原创 .net 后台方法调用
protected void Button1_Click(object sender, EventArgs e) {........................................................} protected void DropDownList_options_changed(object sender, EventArgs e
2011-12-06 16:46:51 256
原创 数据库更新
#region----将信息存入数据库store the information to the SQL------- int userId = Convert.ToInt32(Session["UserId"]); string strcn = System.Configuration.ConfigurationManager.AppSettings["Main
2011-12-06 13:28:30 236
原创 ajaxToolkit:AutoCompleteExtender
http://moosdau.blog.163.com/blog/static/43711282008824113942459/ public string[] GetData(string prefixText, i
2011-12-05 16:03:09 333
原创 数据库连接、读取(查询)以及赋值给变量过程
1.数据库连接、读取以及赋值给变量 int userId = Convert.ToInt32(Session["UserId"]); string strconn = System.Configuration.ConfigurationManager.AppSettings["Main.ConnectionString"].Trim()
2011-12-02 15:15:54 5097
原创 DropDownList 数据绑定
string strconn = System.Configuration.ConfigurationManager.AppSettings["Main.ConnectionString"].Trim() + " ; Provider=SQLOLEDB;"; OleDbConnection cnn = new OleDbConnection(strconn);
2011-12-01 16:42:53 645
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人