The Basic : Strip HTML Content from String
Sometimes there is necessary for us to strip html formatted content before we use it for display or something else. The reason is sometimes this formatted html content going to mess with our script or existing html content. Let’s go to the code C# VB.NET Okay that’s it, simple and easy to use… Happy Programming
Reading Excel File With EPPlus and .NET
Recently i receive a task to crawl almost thousand of Excel file with a standard formatting and pump the resulting data into database (i meant it, almost 2,000 files). Because the entire excel file collection is in a form of excel 2007 / 2010 with .xslx extension, i choose EPPlus library to simplify my programming [...]
Highcharts Highstock with ASP.NET
Recently i’m playing around with Highchart Highstock javascript charting controls. Basically highstock is a chart type that can be used to represent stock or general timeline data. Okay let’s start having fun with the script and code Prerequisite : jQuery Highchart Highstock First of all let’s prepare our data, in my case i just want [...]
Virtual Box : The selected virtual machine inaccessible, start tag expected ‘<‘ not found error
There’s one time when i try to boot up my virtual machine an error occurred saying that the selected virtual machine is inaccessible with the following error Start tag expected ‘<’ not found so then how to solve this problem, basically it’s quite straight forward. Create a new virtual machine and use back existing virtual [...]
The Basic : Extract delimited CSV file format with .NET
When i was start working with my first company, the first task i receive is to create an application that able to extract information from delimited csv files format and dump it into database. In this example i put up a simple example on windows form where we are using OpenFileDialog for choosing files and [...]
Problem Installing Virtual Box Guest Additions on Ubuntu
Virtual Box Guest Edition is extension for virtual box that enable mouse pointer integration, shared folder, share clipboard and etc. In order to install it, run your virtual machine and under device menu choose Install Guest Additions. For some reason, on my cases it fails to download the extension from the given website url. After [...]
Installing htop on Ubuntu and CentOS 6
Htop is a process monitoring software where we can monitor system process and usage (cpu and memory usage of our servers or desktop). Here i provide snippet to download this software on ubuntu and centos Ubuntu CentOS Now htop already install inside your system to run the program just type htop inside your terminal. Below [...]
Binding Button Click Event to Key Map Control in Ext.NET
Ext.Net KeyMap control come in handy especially when dealing with user who always want to utilize their keyboard as a shortcut key to performs certain operation inside application being developed. Just to demonstrate the functionality of this control, create a new aspx page, and add below control (textbox and button): Then we add the key [...]
Logging… Logging… Logging… with NLOG
I always told programmer who work with me to log whatever operation that can cause an exception inside application, but like always some of us just to ignorance to think about that. As long as the application run who cares right… WTF… Logging in asp.net is not as hard as what some people might think. [...]
Count Record in Ext.Net GridPanel Store from Client Side (Javascript)
i’m quite a big fans of Ext.NET control for ASP.NET, They just rock… So for today, i will show everyone on how they can count records available inside GridPanel from client side scripting. The script is quite straight forward as below ( you can put it inside handler or Before event inside DirectEvent functionality: inside [...]