ÔÚGridViewµÄRowDataBoundʼþÖлñȡijÐÐijÁеÄÖµ£¡
ÔÚÄ¿Ç°µÄ¹¤×÷Öо³£Óõ½£¬Ìش˼Ǽ£¬ÌرðÊÇÄǸö DataRowView £¬¾³£ÊÇÍü¼ÇÔõôƴдµÄ£¬ºÙºÙ
// Åж϶©µ¥×´Ì¬Ìî³ä¡°²Ù×÷¡±ÁÐ protected void gdvOrders_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { DataRowView drv = (DataRowView)e.Row.DataItem ; if (drv.Row["Status"].ToString() == "ÉóºËÖÐ") { ((Label)e.Row.Cells[6].FindControl("lblOperator")).Text = "ÎÒÒª¸Äµ¥"; } if (drv.Row["Status"].ToString() == "ÒÑ·¢»õ" && drv.Row["ResponseDate"].ToString() == "") { ((Label)e.Row.Cells[6].FindControl("lblOperator")).Visible = false; ((LinkButton)e.Row.Cells[6].FindControl("lbtnAcceptGoods")).Visible = true; } } }
ÍƼöÐÅÏ¢
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- Asp.net MVCÔ´Âë·ÖÎö--Model Validation(Se....
- .Net À¬»ø»ØÊÕ»úÖÆÔÀíºÍËã·¨£¨Ò»£©
- .netʵÌåнâ
- ·ÖÎöASP.NET¶ÁÈ¡XMLÎļþ4ÖÖ·½·¨
- »ñÈ¡ÍøÕ¾ËõÂÔͼ´úÂë
- Asp.net ¸ù¾ÝIPµØÖ·»ñÈ¡¿çÍø¶ÎmacµØÖ·º¯Êý¡¾ËѲء¿
- ¹ýÂËÃô¸Ð¹Ø¼ü×Ö¡£
- Éú³ÉÖ¸¶¨Î»ÊýµÄËæ»ú×Ö·û´®
- ¿Í»§¶Ë»ñÈ¡MACµØÖ·£¬µ½·þÎñÆ÷ÑéÖ¤
- ²½²½ÎªÓª .NETÈý²ã¼Ü¹¹½âÎö ¶þ¡¢Êý¾Ý¿âÉè¼Æ
ÆÀÂÛ