ASP.NET?D±í???ˉêy?Yμ?·?ê?
作者 佚名技术
来源 NET编程
浏览
发布时间 2012-05-21
??ò?3?ê??ˉò3?? 15????????????if(Request.QueryString["AuditItemID"] != null) 16????????????{ 17????????????????strAuditItemID =??Request.QueryString["AuditItemID"].ToString(); 18????????????} 19 20????????????GetTeamMember(strAuditItemID); 21????????} 22 23????????Web ′°ì?éè???÷éú3éμ?′ú??#region Web ′°ì?éè???÷éú3éμ?′ú?? 24????????override protected void OnInit(EventArgs e) 25????????{ 26????????????// 27????????????// CODEGEN: ??μ÷ó?ê? ASP.NET Web ′°ì?éè???÷?ù±?Dèμ??£ 28????????????// 29????????????InitializeComponent(); 30????????????base.OnInit(e); 31????????} 32 33????????/**//// <summary> 34????????/// éè???÷?§3??ùDèμ?·?·¨ - 2?òaê1ó?′ú??±à?-?÷DT?? 35????????/// ′?·?·¨μ??úèY?£ 36????????/// </summary> 37????????private void InitializeComponent() 38????????{ 39????????????this.Load += new System.EventHandler(this.Page_Load); 40 41????????} 42????????#endregion 43 44????????private void GetTeamMember(string AuditItemID) 45????????{ 46????????????string strMaster, strTeamLeader, strPM; 47????????????ArrayList al = GetTeamMemberName(AuditItemID, out strMaster, out strTeamLeader, out strPM); 48 49????????????foreach(PersonRole pr in al) 50????????????{ 51????????????????HtmlTableCell cell=new HtmlTableCell(); 52????????????????cell.Align = "Center"; 53????????????????Label lbl = new Label(); 54????????????????lbl.Text = pr.name; 55????????????????lbl.Font.Size = 9; 56 57????????????????cell.Controls.Add(lbl); 58????????????????HtmlTableRow row=new HtmlTableRow(); 59????????????????row.Cells.Add(cell); 60 61????????????????HtmlTableCell cellRole = new HtmlTableCell(); 62????????????????cellRole.Align = "Center"; 63????????????????Label lblRole = new Label(); 64????????????????lblRole.Text = pr.role; 65????????????????lblRole.Font.Size = 9; 66 67????????????????cellRole.Controls.Add(lblRole); 68????????????????row.Cells.Add(cellRole); 69 70????????????????tblContainer.Rows.Add(row); 71????????????} 72????????} 73 74????????private ArrayList GetTeamMemberName(string AuditItemID, out string strMasterName, out string strTeamLeader,out string strPM) 75????????{ 76????????????ArrayList al = new ArrayList(); 77????????????strMasterName = "?T"; 78????????????strTeamLeader = "?T"; 79????????????strPM = "?T"; 80 81????????????PersonRole pr; 82????????????pr.name = "??èy"; 83????????????pr.role = "×ü?-àí"; 84????????????al.Add(pr); 85 86????????????pr.name = "à???"; 87????????????pr.role = "?±×ü?-àí"; 88????????????al.Add(pr); 89 90????????????pr.name = "í???"; 91????????????pr.role = "???±"; 92????????????al.Add(pr); 93 94????????????pr.name = "??áù"; 95????????????pr.role = "???±"; 96????????????al.Add(pr); 97 98????????????return al; 99????????} 100????} ?ú????ò3??μ?ê±oò£?ó?????·?ê?ó|??ê?èê????èê?¢? |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: asp.net与access数据库结合下一篇: ASP.NET MVC实现查询+分页
关于ASP.NET?D±í???ˉêy?Yμ?·?ê?的所有评论