随笔-93  评论-28  文章-0  trackbacks-3
03 2008 档案
[转]在ASP.NET的datagrid中使用radio button的历程
摘要: 赤字先生 发表于 2006-10-16 17:43:39 在一个项目中,要在一个datagrid中使用RadioButton,就是一列中显示一组RadioButton,在这一列中是互斥的,每次只能选择一个RadioButton。 如下图: 500)this.width=500" border=0> 一开始,尝试使用服务器控件RadioButton作为DataGrid模板列的控件来实现: <a...阅读全文
posted @ 2008-03-31 11:11 ka80 卡门网 阅读(1113) | 评论 (2) 编辑
[转] 弹出窗体 showModalDialog和showModelessDialog 使用心得
摘要: [转] 弹出窗体 showModalDialog和showModelessDialog 使用心得阅读全文
posted @ 2008-03-25 14:31 ka80 卡门网 阅读(1023) | 评论 (0) 编辑
C# 版 表单验证
摘要: using System;using System.Collections.Generic;using System.Text;namespace bookan.others{ class vli { /// <summary> /// 判断是否被未空 /// </summary> /// <returns>为空返回false</returns> p...阅读全文
posted @ 2008-03-18 14:50 ka80 卡门网 阅读(869) | 评论 (0) 编辑
ExecuteScalar 返回值的处理
摘要: //ExecuteScalar 返回值的处理 object o= SqlHelper.ExecuteScalar("server=.;Database=Northwind;uid=sa;pwd=sa", CommandType.Text, "select *from test1 where a=2"); string s = ""; if (o != null) s = o.ToString();...阅读全文
posted @ 2008-03-18 14:44 ka80 卡门网 阅读(2335) | 评论 (0) 编辑