-
C#: Quick Review on Delegates
A delegate is a type, much like the C/C++ function pointer, that can reference or encapsulate any method with the same method signature as the delegate. Declaring a delegate is like declaring a regular method but without the method body and using the delegate keyword. // declaring a delegate that accepts string as input and returns void public... Read More
-
Using CSS Media Queries
CSS media queries allows your site to be responsive by changing the styles and layout when viewed from different devices such as mobile devices. Before media queries, web developers resort to creating a separate web site for mobile viewing. With media queries you don’t have to anymore. So what do media queries look like and how do you use the... Read More
-
Testing an HTML Page on the Android Emulator Browser
Although you can easily test your HTML page’s responsive design using Chrome’s Mobile Emulation feature, you can also do it, albeit the harder way, by loading the page on the Android emulator’s browser. First you must run the Android Virtual Device (AVD) Manager to launch your Android emulator. You don’t necessarily have to run the IDE that ca... Read More
-
Always wondered how you can write custom code in SQL Server reports?
Well there are 2 ways of doing it actually. One is embedding it inside the report itself, but you are limited to using only VB.NET. The other one is creating a custom code assembly, either in VB.NET or C#, and referencing it from the report. If you ask me, I prefer the custom code assembly so I can write it in C#. The following links go thro... Read More
-
Responsive HTML5 and CSS3 Web Design: Responsive Enough? Err… Hello?!?
Looking at the figure above, it would be nice if the web site displays properly in other browser sizes from other devices. Well have no fear, responsive web design is here. So what is responsive web design? Responsive web design was coined by Ethan Marcotte. It is basically an approach to making web sites respond to the differing viewports o... Read More