13/09/2014 by Nitesh

How To Copy Records from One DataTable to Another Datatable

Friends, There are certain scenarios where you have data in 2 different data tables and you want to merge the data of these data tables into one of them. In this post, we will see how this can be achieved using C# in very simple steps. The post assumes that the number of columns are…

Continue Reading »

06/09/2014 by Nitesh

How To Create a Word Document using Spire.Doc

Friends, Creating Word documents using .Net is always one of the tedious tasks. Today, in this post, we will see how can we create word documents using Spire.Doc library with ease. You can download the Spire.Doc library from here. Spire.Doc is present in Community as well as Commercial edition. You can use the community edition…

Continue Reading »

24/07/2014 by Nitesh

SQL Script to Create Country Table And Populate With All Country Names

Friends, In almost all application we use Country field in the database to store the Country of a user/entity. For this, we either use a text box where user enters the country name or provide user with a drop down list of all countries. to create the dropdown, it is advised to store country names…

Continue Reading »

09/06/2014 by Nitesh

How To Perform Drag-Drop Operations on TreeView Control in Windows Forms

Friends, Drag/Drop functionality is a ease to end user in each and every technology and almost every user is comfortable using the drag-drop feature. In this post we will see how to perform drag and drop operation of nodes in a single TreeView control. There are few events that we will be working with. They…

Continue Reading »

08/06/2014 by Nitesh

How To Get Node at a Given Point in Tree View

Friends, Today, I was working with Treeview Control and in the MouseMove event handler of the control, I was supposed to get the node of the TreeView control present at the current mouse pointer. I looked around for sometime before I figured out how this can be done. In this post, we will see how…

Continue Reading »

1 6 7 8 9 10 14