I’ve gotten bit by this so many times just because I keep forgetting about it! ARGH! If you add a class DIRECTLY to your App_Code folder, don’t forget to set the Build Action Property to COMPILE. If you add it directly to the folder, it is automatically set to CONTENT. This will not give you [...]
In VB.NET there is a useful IIF statement that let’s you do inline evaluations of expressions via conditional coding… but in C#, let’s just say it is “done differently”… a really useful difference to bare in mind is that those expressions CAN be evaluating using Ternary operators, such as: < %# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, “DateAdded”)) >= DateTime.Now.AddDays(-30) [...]
Sometimes in Sharepoint Designer I noticed that some files were showing “checked out” even though they were not! Oh how that drove me crazy! It’s actually a local web cache issue that caused this, and this fella wrote a small script that you can run every now and then that can clear it out… throw this [...]
Probably a topic that we all consider about one of the most BASIC of all areas related to ASP.NET web development, but after some time has been gone by, how well can you say you remember it? Let’s see here… two ways to look at it, the general lifecycle and of course the events driven from [...]
I REALLY like this little add on here, developed and maintained by James Newton King. Hopefully this post will help spread the word. It’s plugins like these that really help web interoperability (if that’s a word hehe). This cool plugin can even serialize datasets/Datatables for passage across applications (if you’re not a Dataset hater of [...]
