29/02/2016 by Nitesh

Remove Roslyn support from ASP.NET Project

Friends, VS2015 has been launched and if you’re using .net Framework 4.5.2 to create projects using VS2015, you might have noticed that the project templates use Roslyn by default. In this post we will see How To Remove Roslyn support from ASP.NET Project. If you’re not aware of Roslyn, it is a set of open-source…

Continue Reading »

02/06/2015 by Nitesh

How To Create a TextBox Accepting Only Numbers in Windows Forms

Friends, Many times we need to have a textbox on our windows forms where we need to accept only numbers from the end users. .Net does provide us a NumericUpDown control but it is not always handy. In this post, we will see how we can create a TextBox accepting only numbers in Windows Forms…

Continue Reading »

14/01/2015 by Nitesh

Solution: ‘Microsoft.Jet.OLEDB.4.0’ provider is not registered on the local machine

Friends, While working with Access, many times you may get the famous exception “Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine“. This normally happens that your code runs fine on your development machine and when you try the run it on production server, this error comes. IN this post, we will see a solution…

Continue Reading »

05/01/2015 by Nitesh

Change Height of TextBox Control in Windows Forms

Friends, From the title, this seems to be a very simple post that every novice programmer would know but changing the height of a textbox control in a Windows Forms Application is bit tricky that thought. You must be wondering that setting the Size.Height property of the control would do this, but as soon as…

Continue Reading »

03/01/2015 by Nitesh

Export Data From GridView to Excel 2007/2010 in ASP.Net

Friends, In this post, we will see how can we export data from GridView to Excel 2007/2010 format in ASP.Net in less than 5 minutes. Without much delay, let’s get started – Add EPPlus package using Nuget. Include OfficeOpenXml and OfficeOpenXml.Table namespaces at the top. In your event handler, write the below code. You’re done….

Continue Reading »

1 2 3