Author Archives: shubhaherle

About shubhaherle

I’m Shubha, a Software Professional living in Mysuru. I love Music. I love to sing ,I love watching movies, traveling and playing with my 8 year old boy.

Class Definition and Using Select statement adding the data to the predefined list

By | 26th September 2019

Happy Coding Guys 🙂 Here am defining the structure of the class and declaring the list of that particular class. I am using a select statement and adding the data returned from the database to that particular list. Defining Connection string in Notepad file and common method to connect to multiple databases How to change… Read More »

Defining Connection string in Notepad file and common method to connect to multiple databases

By | 23rd September 2019

Happy Coding Guys 🙂 The below is a notepad (.ini) file to define the connection string Below is the method to connect to multiple databases How to check if directory exists in specified path and then create directory How to Open dynamically specific extension file from a directory

10 Best Open Source Software’s for small business:

By | 22nd September 2019

When you are all set to start a small business, you always end up looking for the chances to save money. But no business can run without Technology. You need computers, smart phones, file storage, a website, and a whole host of other tech assets.  More importantly, you need software’s that you use for business… Read More »

How to track the deleted folders in Windows Explorer in Windows Forms Application in C# .net

By | 19th August 2019

  You can track the deleted folders in Windows Application by using FileSystemWatcher Class. 1) First add System.IO.FileSystem.Watcher.dll  library. 2) Next Write the code as shown below. 3) If you need to track all the subdirectories which are deleted. The below code is important.   fileSystemWatcher.IncludeSubdirectories = true;   4) Write the source code as… Read More »

How to check if directory exists in specified path and then create directory

By | 20th November 2017

The following code illustrates on how to check if directory exists in specific path, if not then create directory. Here I show that how to create the directory with simple condition.     private void TestDirectory() {     string pathname = “C:\\Myfolder”;         if(!Directory.Exists(pathname)) {     Directory.CreateDirectory(pathname); } }  

WordPress.Com Vs WordPress.Org

By | 2nd October 2017

WordPress.com vs WordPress.org is competition where one is good and other one is excellent. Yes WordPress.com is good, its great and WordPress.org is excellent. As we all know WordPress.org is a open source content management system (CMS), means you can download, modify and also distribute it. With this CMS you can create a blog or… Read More »

How to copy or duplicate the structure and data of table in the database in MySql

By | 26th September 2017

If you need the similar structure of the table with different tablename, it’s better to duplicate r copy the table structure than creating a new table from scratch. It is easy to duplicate the table structure and rename it. Select any database table and right click and click on the option Duplicate Table Structure /Data… Read More »