摘要:        
单击Button4 弹出确认对话框,在page_load里写代码Button4.Attributes.Add("onclick", @"return confirm('与此记录关联的所有记录均会被删除,你确认要删除吗?');");或者Button4.Attributes.Add("onclick", "return confirm('与此记录关联的所有记录均会被删除,你确认要删除吗?');...    阅读全文
posted @ 2006-10-28 11:08
代码缔造的帝国
阅读(402)
评论(1)
推荐(0)
        
            
        
        
摘要:        
1、绑定在DataList中的DropDownList private void dlistOrder_EditCommand(object source, System.Web.UI.WebControls.DataListCommandEventArgs e){ //绑定订单状态 for(int i=0;i2) 文本+绑定表达式' ForeColor="Red">3) 同时带有显示格式的绑定表...    阅读全文
posted @ 2006-10-28 10:33
代码缔造的帝国
阅读(149)
评论(0)
推荐(0)
        
            
        
        
摘要:        
http://blog.csdn.net/gaohaidong/ 1.为按钮添加确认对话框 Button1.Attributes.Add("onclick","return confirm(’确认?’)");button.attributes.add("onclick","if(confirm(’are you sure...?’)){return true;}else{return false...    阅读全文
posted @ 2006-10-28 10:32
代码缔造的帝国
阅读(236)
评论(0)
推荐(0)
        

 浙公网安备 33010602011771号
浙公网安备 33010602011771号