Samurai Programmer.com
"I know Kung-Fu..."
Browse by Tags
All Tags
»
ASP.NET
(RSS)
.NET
.Net Conversion
ASP.NET Tips and Tricks
Development
Model-View-Presenter
Validation
VB.NET
SamuraiProgrammer.Web.UI - v0.5
One of my friends suggested that I should provide a download for all of the little code snippets, controls, etc. that I throw up on my blog so people don't have to constantly copy/paste into their IDE of choice. I thought about it and it sounded like
Read More...
Visibility of Fields Within FormView
A quick trick that I'm sure many of you know. Suppose you had a FormView on a page bound to a datasource. Within that FormView, you have several fields that may or may not contain data. Now, suppose that for whatever reason, your sponsor would like you
Read More...
GridView Grouping and Checkbox Lists
I was helping a co-worker today with one of his screens and realized that it may makea useful little tutorial for all those other folks out there. This was somewhat interesting because it follows up pretty well on my previous postas I talk about saving
Read More...
Input Validation
It seems that I always appear to run into this issue when performing code reviews. As has been well documented in various locations on the web - all input is evil, until proven otherwise. Some people attempt to mitigate this risk by providing dropdowns
Read More...
ASP.NET 2.0: OnClientClick
I've known about this for a while, but I just helped a co-worker that did not know about this nifty new property on buttons - so here's a quick blog entry that I hope will help someone else out in the future. In .NET 1.1 days - when you had processing
Read More...
Typeof Vs. TryCast
I was researching something this morning and came across a great blog entry from way back showing an update to the tried and true TypeOf and Ctype/DirectCast code. I realized immediately thatI could apply this little tidbit to my current code. In-fact,
Read More...
ASP.NET 2.0: Textbox ReadOnly Property
This has been documented in numerous places includinghere, here, here(with an incorrect fix) and here. Essentially, if you set the Readonly Property of a textbox using either the XHTML or in the code-behind, any changes you make to the value of that textbox
Read More...
.NET 2.0 and Access Databases
For an internal application at my company, very particular users have the rights to download an MDB that contains links to a replicated instance of a DB. This was done so they could create their own queries without any assistance from IT - essentially
Read More...
Web Project Conversion - IConvertedPage
As I've mentioned previously, I'm currently in the midst of a project to convert an old web application from .net 1.1 to .net 2.0. This is a moderately sizable application containing 40+ aspx pages. We are not simply converting the project and code-base
Read More...
IIF in VB.net vs. ? : in C#
Just a quick thing that annoys me a teeny bit. In C#, if you want to create a short one-line IF...Then...Else statement, you can use the ? : syntax - in practice that's:string description = reader.IsDBNull(_indexDesc) ? null : reader.GetString(_indexDesc).Trim();
Read More...
.Net Vs. J2EE
Tom Yager had a great post about a benchmarking project that Microsoftinitiated that compared performance of .Net to J2EE. It was a great article and just goes to show that .Net is easy to develop in - AND - extremely performant. In my company, this is
Read More...
ASP.NET Menu Control and <xhtmlConformance mode="Legacy" />
I have been working on a project lately to convert an ASP.net application from .net 1.1 to .net 2.0. As part of the upgrade, we are going to use the new ASP.Net Menu control - complete with the Sql Site Map Provider. Everything went extremely well - but
Read More...
RegEx vs. XML
I recently ran into a situation where I needed a simple method of parsing values from a cookie and placing into a class in my asp.net 2.0 application. Initially, I created the class and used the built in .net Serialization - but the resulting xml was
Read More...
ASP.NET: Model View Presenter Pattern
For a while now, I've been trying to determine a more efficient way of testing my company's applications. We don't have a QA team, so we are forced to repeatedly develop, unit test, system test and regression test our applications. In the past, we had
Read More...
Search
Go
This Blog
Home
Email
Tags
.NET
.Net Conversion
ASP.NET
ASP.NET Tips and Tricks
AT&T
Blackberry Curve
cell phone
Decorator
Design Pattern
Development
Firefox
Google
Hanselman
javascript
Jobs
Microsoft
Model-View-Presenter
Mozilla
Orcas
Self-Improvement
sense of humor
Sidekick II
t-mobile
Tools
Unit Testing
Validation
VB.NET
Visual Studio
Working for Microsoft
WPF/E
Navigation
Home
Blogs
Forums
Photos
Downloads
Archives
October 2007 (4)
September 2007 (5)
August 2007 (8)
July 2007 (11)
June 2007 (10)
May 2007 (5)
April 2007 (1)
March 2007 (3)
October 2006 (1)
September 2006 (7)
August 2006 (6)
Blogs I Read
Joel on Software
One Louder
Rob Howard
Scott Guthrie
IE Blog
David Hayden
Eric J. Smith
Gaping Void
Panopticon Central
Jayson Knight
Scott Hanselman
Scott Watermasysk
The Visual Basic Team
Syndication
RSS 2.0
Atom 1.0