文章分类 -  c#

摘要:C#前台js调用后台代码前台js后台代码public string Getstr(){ string aa = "你们好啊!"; return aa;}C#后台调用前台js代码前台js后台代码protected void Button1_Click(object sender, EventArgs e) { //如果有UpdatePanel就用如下代码调用前台js ScriptManager.RegisterStartupScript(UpdatePanel1, this.Page.GetType(), "", "Ceshi();", 阅读全文
posted @ 2014-03-30 11:47 levin_jian 阅读(71) 评论(0) 推荐(0)
摘要:Standard Security: "Data Source=Aron1;Initial Catalog=pubs;UserId=sa;Password=asdasd;" - or - "Server=Aron1;Database=pubs;UserID=sa;Password=asdasd;Trusted_Connection=False" (both connection strings produces the same result) Trusted Connection: "Data Source=Aron1;Initial Cat 阅读全文
posted @ 2011-07-30 15:56 levin_jian 阅读(119) 评论(0) 推荐(0)
摘要:using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data; using System.Text.RegularExpressions; using S 阅读全文
posted @ 2011-07-29 15:47 levin_jian 阅读(517) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Text;using System.Configuration;using System.Data.SqlClient;using System.Data;using System.Collections;namespace DBUtility{ /// <summary> /// 数据访问抽象基础类 /// Copyright (C) 2004-2008 By LiTianPing /// </summary> public abstract clas 阅读全文
posted @ 2011-07-29 15:03 levin_jian 阅读(170) 评论(0) 推荐(0)