|
|
Browse by Tags
All Tags » ASP.NET Tips and Tricks
Showing page 1 of 2 (14 total posts)
-
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 a good idea but I think I'll do things a little bit different. I fully intend to ...
-
This is an old topic, but as I work with developers more and more, I find that there is still some gray area on this topic.
Concatenating strings is probably one of the most comment tasks that most developers perform in their work-lives. If you've ever done some searching around, though, you'll find that there are 2 main ways that people ...
-
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 to make a control and its label disappear if the corresponding field contained ...
-
I was helping a co-worker today with one of his screens and realized that it may make a useful little tutorial for all those other folks out there. This was somewhat interesting because it follows up pretty well on my previous post as I talk about saving records with a 1 to many relationship. Basically, he needed to develop a ...
-
If you've been a developer for any period of time, you have probably come across this question. If you're given a one-to-many relationship in a table, what is the best way to insert those values into a database. For example, let's say that you had a Person table and an Attribute table. Each person can have more than one attribute ...
-
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 or calendar controls to coach our users into entering the right values. While ...
-
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 that you wanted to complete in a web client prior to executing a postback, you would ...
-
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 that I could apply this little tidbit to my current code. In-fact, I'm going to refer to an entry I made just a few short weeks ago.
In this ...
-
This has been documented in numerous places including here, 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 client-side (ie: javascript) will not be persisted across ...
-
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 a poor man's Cognos or Reporting Services. This worked fine in .Net 1.1.
We are ...
1
|
|
|