modernsky2003

2008年5月29日 #

ASP.NET 2.0中CSS失效的问题总结

摘要: http://www.cnblogs.com/heekui/archive/2007/08/27/871917.html [转帖]ASP.NET 2.0中CSS失效的问题总结 ASP.NET 2.0中CSS失效的问题总结 经常有人遇到ASP.NET 2.0(ASP.NET 1.x中可能是有效的)中CSS失效的问题,现将主要原因和解决方法罗列如下: 1,CSS文件路径不正确 这个问题属于We... 阅读全文

posted @ 2008-05-29 15:15 hekeneng 阅读(197) 评论(0) 推荐(0) 编辑

ASP.NET 2.0 AJAX中Webservice调用方法示例

摘要: http://www.cnblogs.com/heekui/archive/2007/01/10/616332.html GridView中使用DataKeyNames存储数据键值 http://www.cnblogs.com/heekui/archive/2008/04/09/1143831.html 阅读全文

posted @ 2008-05-29 15:15 hekeneng 阅读(126) 评论(0) 推荐(0) 编辑

如何使用C# WEBSERVICE 创建一个三层的数据库应用程序 http://www.xxju.net/article/200412/29_0004326567.htm

摘要: 如何使用C#创建一个三层的数据库应用程序 1.分析 在我们这个程序中采用如下的层次:Web层,业务实体层,数据层。 其中:休 闲居 编 辑 业务实体层负责Web层与数据层之间的数据交换。 数据层仅仅代表数据库。 Web层通过业务实体层来访问数据库。 我们的中间的业务实体层采用WebService. 2.实例 我们通过一个实例来学习三层架构。 (1) 以sql2000为例 建立T... 阅读全文

posted @ 2008-05-29 14:40 hekeneng 阅读(2398) 评论(0) 推荐(0) 编辑

使用C#创建webservice及三种调用方式 (ASP.NETweb编程常用到的27个函数集)

摘要: http://www.myfaq.com.cn/A/2002-01-25/11927.html webservice调用 if(this.TextBox1.Text.Length>0) { localhost.Service1 MyService=new localhost.Service1(); this.Label3.Text=MyService.GetCustome... 阅读全文

posted @ 2008-05-29 13:23 hekeneng 阅读(574) 评论(0) 推荐(0) 编辑

2008年5月28日 #

ASP.NET常用代码

摘要: protected void calSend_SelectionChanged(object sender, System.EventArgs e) { if(DateTime.Parse(calSend.SelectedDate.ToString("d"))") { txtTitle.Text = ""; } if( txtSend.Text == "")... 阅读全文

posted @ 2008-05-28 18:01 hekeneng 阅读(447) 评论(0) 推荐(0) 编辑

开始窗口最大化

摘要: /// /// 用户登陆成功后,页面的重定向设置 /// private void LoginUrl() { Response.Write(""); //ClientScript.RegisterStartupScript(this.GetType(), "", ""); string tt = " var qm... 阅读全文

posted @ 2008-05-28 16:50 hekeneng 阅读(409) 评论(0) 推荐(0) 编辑

三秒之后将返回发信息页面

摘要: protected void Page_Load(object sender, System.EventArgs e) { string flag = Request.Params["flag"].ToString(); if( "1" == flag) { lblShow.Text = "信息发送成功,三秒之后将返回发信息页面。"; } else ... 阅读全文

posted @ 2008-05-28 15:32 hekeneng 阅读(267) 评论(1) 推荐(0) 编辑

2008年5月27日 #

ASP.NET 2.0中轻松实现网站换肤 http://dev.yesky.com/msdn/42/2366542.shtml

摘要: http://dev.yesky.com/msdn/42/2366542.shtml private static string GetConnnectionString() { //读取配置文件 System.Configuration.ConnectionStringSettings connString = Sy... 阅读全文

posted @ 2008-05-27 17:46 hekeneng 阅读(199) 评论(0) 推荐(0) 编辑

ASP.NET 2.0中轻松实现网站换肤

摘要: : 查看个人网站 查看详细资料 <!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"> <he... 阅读全文

posted @ 2008-05-27 16:00 hekeneng 阅读(177) 评论(0) 推荐(0) 编辑

好的VS2005代码

摘要: public static DataTable GetListData() { DataTable ret = new DataTable(); ret.Columns.Add(new DataColumn("Text")); ret.Columns.Add(new DataColumn("Value")); for ... 阅读全文

posted @ 2008-05-27 15:59 hekeneng 阅读(330) 评论(0) 推荐(0) 编辑

导航