Blogs

C# Getting column name from dataset

March 6, 2018
There are many ways we can do the same, here I am sharing how you can do it using foreach loop. Below sample code loop through Dataset and get column the names.        DataSet dsresult = GetResultFromDBQuery(); //Query to db for getting records. foreach (DataColumn column in dsresult.Tables.Columns) { Console.WriteLine(column.ColumnName); } If you want to get column and ...
Read more..

Bootstrap modal window: Close current and open a new modal

February 13, 2018
This is very basic requirement to open second modal window by clicking on link on first modal window. When I search for it found difficult to get the answer which is very simple and no one aware of that. So I though of sharing a small code to demonstrate how you can open another modal ...
Read more..

angular 4 two way data binding sample

February 8, 2018
Here I showing how you can bind data using Angular 4. This is very simple can be done within no time. Let see how we can do that. Hope you have to install angular in your system if you need help installing/configuring Angular you can refer to my blog “Here“. Now to start with, First open the command ...
Read more..

Angular 4 how to install on windows system

February 8, 2018
To configure your system to create Angular 4 application you need to install few dependecies as: 1) Node.js : Is an open source server framework; 2) Angular CLI : Command line interface for Angular. Which make our life easier You can install Node using official site : Download Node Download windows version and install it. To confirm just ...
Read more..

Can’t start because vcruntime140.dll is missing from your computer

December 29, 2017
After completing installation of WAMP server on my windows 7 system, if try to run it, wamp throws error like: “The program can’t start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix the problem.” WAMP will give proper instruction while installation process that system should be updated with below mention packages and ...
Read more..

Exporting database using SQL server management studio

December 29, 2017
Exporting database from SQL Management studio is very easy and it provides various options to make developer life easy, like: 1) Export the whole database into a single file or single files per project. 2) Export database schema or table data only or both. 3) Export with backward compatibility. You can export database for server version 2005, 2008, ...
Read more..

Redmi Note 4: Contacts are getting merged automatically

December 15, 2017
My contacts are getting merge automatically and showing wrong profile pic and name while dialing to another contact number. This problem is with Xiaomi Note 3 and Note 4. And there are no specific solutions for it. But below I am sharing what work for me. See if it helps you out: Steps listing here is ...
Read more..

Copying files and folder from remote desktop to local desktop windows 10

December 5, 2017
Here I am showing how you simply share files and folders between Remote desktop to your local system using Windows 10. Follow below steps and your local folder get shared to your remote desktop. Using that folder/drive you just copy all your files and folder between Remote and local systems very easily. 1) Click on start ...
Read more..

IIS Config Error – This configuration section cannot be used at this path

December 4, 2017
After deploying C# MVC 4 application to IIS 10 server my application is giving below error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=”Deny”), or set explicitly by a location tag with overrideMode=”Deny” or the legacy allowOverride=”false”. There are ...
Read more..

How to change IIS port in windows

November 21, 2017
Showing here, how you can update IIS server port number in windows 10/8 system. There may be several reason you want to change the port but for me its WAMP, I am using it for PHP projects. IIS and WAMP use same port which make trouble developing. So I updated IIS port. You can also ...
Read more..