2005年8月19日

Case 在做留言本程序中的运用...

摘要: 如留言本的“内容”这一栏,我想让它最多显示100个字符,如大于这个长度,则在第100个字符后面加上"...."来表示,如小于或等于这个长度,则正常显示...我们可以利用sql 这样来实现..table_name 中的字段 content select content=case when len... 阅读全文

posted @ 2005-08-19 10:31 封起De日子 阅读(105) 评论(0) 推荐(0) 编辑

如何利用sql将日期由(yyyy-MM-dd 00:00:00)直接转换成(yyyy-MM-dd)?

摘要: 可以利用Convert 来时行转换...具体的sql 中可以这样1、 select left(varchar,date_time_string,21),10) as date_time from table_name/*些种形式是采用字符串截取的形式实现的 */2、select conver... 阅读全文

posted @ 2005-08-19 10:25 封起De日子 阅读(1646) 评论(0) 推荐(0) 编辑

2005年7月20日

如何在前台表示层中调用后台代码层中的 datatable 中的内容.....

摘要: 如果我在后台的.vb 代码中定了一个public idtb_temp as new datatable现在我在前台的.aspx 页面中的。。。。。</script>去调用这个datatable我现在想在前台写一个循环取出我想要的所有值...我是这样的做的...<javascrip>var lint... 阅读全文

posted @ 2005-07-20 12:28 封起De日子 阅读(98) 评论(0) 推荐(0) 编辑

2005年6月21日

我的BBS水友们

摘要: 阅读全文

posted @ 2005-06-21 15:19 封起De日子 阅读(94) 评论(0) 推荐(0) 编辑

我的大学——序言

摘要: 阅读全文

posted @ 2005-06-21 15:16 封起De日子 阅读(138) 评论(0) 推荐(0) 编辑

彻底堕落了一回——大三篇

摘要: 阅读全文

posted @ 2005-06-21 15:15 封起De日子 阅读(113) 评论(0) 推荐(0) 编辑

轻松的一年——大四篇

摘要: 阅读全文

posted @ 2005-06-21 15:15 封起De日子 阅读(81) 评论(0) 推荐(0) 编辑

2005年3月15日

如何將Web上DataGrid內的數據庫導入Excel或Word…

摘要: 這裡列舉將Web上DataGrid內的數據庫導入Excel或Word的兩種方法: 方式一:在Add References 中添加 Com --à Microsoft Office Web Components 9.0 在程序中添加Imports OWC即運Office 的組件進行編程序來處理da... 阅读全文

posted @ 2005-03-15 20:24 封起De日子 阅读(102) 评论(0) 推荐(0) 编辑

2005年3月11日

跟據DateTimePicker的選擇,在旁邊的Label中自動的顯示星期...

摘要: 一:先寫一個顯示星期的UIControl,這個UIControl從外外接收到一日期參數,自動變換成日期並顯示於Label..... using System;using System.Windows.Forms;using System.Drawing; namespace XUIControl... 阅读全文

posted @ 2005-03-11 19:46 封起De日子 阅读(128) 评论(0) 推荐(0) 编辑

制作一個簡單的日期時間的時鐘的UserControl....

摘要: using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Data;using System.Windows.Forms;using My_Diarys; ... 阅读全文

posted @ 2005-03-11 19:10 封起De日子 阅读(131) 评论(0) 推荐(0) 编辑

导航