How to format each GridView row based on data-item

Every now and then, someone requests that a html table with should somehow be customised based on data shown, for eg. each row should have different background color for each „Status” column in data-item. In my knowledge there is no easy way of doing it declarative in ASP.NET using standard …

How pirates population is connected to the global warming?

If you are one those open-minded people that cannot understand why some radical people try to force you into questionable beliefs (even reach for your money in some manner), you”ll be compelled that there are Pastafarians, an organization that fight radicals with sarcasm 🙂 and theories that can be proved …

WatiN cannot start IE

Today my new, Administrator right’s free, ccnet installation gave me „the finger” while trying to run WatiN test fixtures.: Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 80070005. at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, LogonDialogHandler logonDialogHandler, Boolean createInNewProcess) at WatiN.Core.IE..ctor() As it turns out silmple …

Manual NCover setup

Recently I’ve been migrating a ccnet environment, including the NCover installation. I’m lazy so i just copied files hoping that if paths are the same/correct then everything will work auto-magically. It did not, NCover need a small configuration to be put in windows registry: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOTWow6432NodeCLSID{6287B5F9-08A1-45E7-9498-B5B2E7B02995}] …

How to minimize size of SqlServer database files

Sometimes my development databases use to much space that is not required. Most of my dev sqlserver databaeses are not used – kep for future reference only. Thre is way to keep their size to minimum: backup log MyDbName with truncate_only dbcc shrinkfile(MyDbName_log,2) Second sql statement uses database transaction log …

Simple re-use of QueryString paremetr with BindableHyperLink

When you want to use a query parameter passed to your page you’ll need litle bit of extra coding. There are few ways to accomplish that but in simple cases I like to use data binding expression just inside NavigateUrl attribute on Hyperlik’s and friends: <wc:BindableHyperLink ID=”newItem” runat=”server” Text=”Add” NavigateUrl='<%# …

Back to Top