I'm currently supporting an ASP.NET project that has a lot of code like this using the System.Web.UI.Control.FindC... method to get data from child controls - in this example, from DataListItems belonging to a DataList control: foreach (DataListItem item in employeeDataList.Items) { if (item.ItemType == ListItemType.Item || item.ItemType == ListItemType.AlternatingItem) { if (((HtmlInputCheckBox)item.F... { string positionId = ((Label)item.FindControl("P... ......
On the anniversary of our nation's independence I call upon my U.S. citizens to throw off the shackles of our British oppressors and pronounce the word "agile" like true Americans: The pretentious un-American "goofus" pronunciation: aj-ahyl The right-thinking American "gallant" pronunciation: aj-uhl Listening to the .NET Rocks Team System panel discussion from Tech Ed last week, I was dismayed to hear that only one of the six panelists pronounced "agile" like an American. I'm not sure which one it ......
When a free download of Refactor!™ for ASP.NET 2.2 was announced in May by Developer Express, I bookmarked it for future reference because I wasn't working on an ASP project at the time. When I took another look, I realized that the download includes 19 C#/VB code refactorings that work in any project, ASP.NET or not. They work in Visual Studio 2003, VS2005, and "Orcas". Included are Refactor! versions (with much nicer user interfaces) of four of the seven built-in VS2005 C# refactorings: Rename ......