Friday, February 24, 2006
Monday, February 20, 2006
How to get rewarded for incompetence
How to get rewarded for incompetence
.....
Steve studied the business issues and recruited key personnel from the AP department to help identify information requirements and develop a rough design of the solution.
.....
Bob took a different approach. Focused on fast results, he set part of his group to building a core AR database, while a second set of programmers created basic input screens and sample outputs. In no time, Bob had something to show the boss, who was suitably impressed.
.....
.....
Steve studied the business issues and recruited key personnel from the AP department to help identify information requirements and develop a rough design of the solution.
.....
Bob took a different approach. Focused on fast results, he set part of his group to building a core AR database, while a second set of programmers created basic input screens and sample outputs. In no time, Bob had something to show the boss, who was suitably impressed.
.....
Wednesday, February 15, 2006
Paging through lots of data with MS SQL Server 2005 and ASP.NET 2.0
This link explains how MS SQL Server 2005 supports paging in GridView (web control in ASP.NET 2.0) through "ROW_NUMBER() OVER (...)" function:
Paging through lots of data efficiently with ASP.NET 2.0
This is another article on the "SQL Pager" topic:
Returning Ranked Results with Microsoft SQL Server 2005
You can find here some nice stuff about Ranking SELECT's resultset.
Paging through lots of data efficiently with ASP.NET 2.0
This is another article on the "SQL Pager" topic:
Returning Ranked Results with Microsoft SQL Server 2005
You can find here some nice stuff about Ranking SELECT's resultset.
Monday, February 13, 2006
Tuesday, February 07, 2006
Developing Custom ASP.NET Server Controls
Developing Custom ASP.NET Server Controls
This section describes how to develop ASP.NET server controls. It contains a walkthrough that provides an overview of authoring a custom server control and it provides code examples that illustrate different control authoring tasks such as rendering, defining properties, managing state, and creating composite controls.
This section describes how to develop ASP.NET server controls. It contains a walkthrough that provides an overview of authoring a custom server control and it provides code examples that illustrate different control authoring tasks such as rendering, defining properties, managing state, and creating composite controls.
Monday, December 19, 2005
Loading User Controls into Web Parts
Create Google.ascx as a web part article demonstrates how to create User Control and insert it into Web part.
Tip from the article: in order to get rid of "Untitled" header in Web part - define title attribute for user control:
<uc1:Google title="Google Search" runat="server" ID="Google1" />
Personalize Your Portal with User Controls and Custom Web Parts article demonstrates how to bind User Control to Web Part dynamically:
// create Web Part instance from User Control file
Control uc = this.LoadControl(@"webparts\CompanyNews.ascx");
uc.ID = "wp2";
GenericWebPart wp2 = WebPartManager1.CreateWebPart(uc);
WebPartManager1.AddWebPart(wp2, WebPartZone1, 1);
Tip from the article: in order to get rid of "Untitled" header in Web part - define title attribute for user control:
<uc1:Google title="Google Search" runat="server" ID="Google1" />
Personalize Your Portal with User Controls and Custom Web Parts article demonstrates how to bind User Control to Web Part dynamically:
// create Web Part instance from User Control file
Control uc = this.LoadControl(@"webparts\CompanyNews.ascx");
uc.ID = "wp2";
GenericWebPart wp2 = WebPartManager1.CreateWebPart(uc);
WebPartManager1.AddWebPart(wp2, WebPartZone1, 1);
Tuesday, December 13, 2005
Web Site Administration Tool for ASP.NET 2.0 / VS.NET 2005
I looked into "Web Site Administration Tool" source code... It's pretty messy.
Variables have senseless names, code is complex, a lot of unnecessary code, grids are binding 2 times, ...
No wonder that "Web Site Administration Tool" is sluggish and bug-prone.
Moreover, such code is very hard to fix (you fix one bug and getting 2 bugs instead).
I think either Microsoft would either rewrite this tool from scratch or leave as it is.
See also: discussion in microsoft.public.vsnet.general
Variables have senseless names, code is complex, a lot of unnecessary code, grids are binding 2 times, ...
No wonder that "Web Site Administration Tool" is sluggish and bug-prone.
Moreover, such code is very hard to fix (you fix one bug and getting 2 bugs instead).
I think either Microsoft would either rewrite this tool from scratch or leave as it is.
See also: discussion in microsoft.public.vsnet.general
Subscribe to:
Posts (Atom)