摘要: 1、绑定在DataList中的DropDownList private void dlistOrder_EditCommand(object source, System.Web.UI.WebControls.DataListCommandEventArgs e) { //绑定订单状态 for(int i=0;i 2) 文本+绑定表达式 ' ForeColor="Red"> ... 阅读全文
posted @ 2008-03-28 10:21 columbus.yan 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1.为按钮添加确认对话框 Button1.Attributes.Add("onclick","return confirm(’确认?’)"); button.attributes.add("onclick","if(confirm(’are you sure...?’)){return true;}else{return false;}") 2.删除表格选定记录 //获得DataGr... 阅读全文
posted @ 2008-03-28 10:19 columbus.yan 阅读(173) 评论(0) 推荐(0) 编辑