C#

C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. C# is a language designed to be fully compatible with Microsoft’s .NET initiative while taking advantage of what has been learned from C, C++ and Java.

C# set File Attributes [change file attribute to read only]

C# set File Attributes [change file attribute to read only]

Set File Attributes: While working on a c# console application, I have a requirement to make all the files in read-only mode. In short, I need to change the file attribute and make them all read-only to end user. In C# with File.SetAttributes() we can easily set the attribute of any given file. Before writing […]


by - Satinder singh

How to delete empty/null rows from DataTable in C#

How to delete empty/null rows from DataTable in C#

Delete null rows: Here in this article, we learn how to delete blanks rows from DataTable in C#. I was working with excel file where have to import data from an Excel sheet to database. For import have to read excel data to DataTable then save it to the database. Then I figure out that […]


by - Satinder singh

Dotnet Core: How to Detect Operating System OS platform [.Net Core]

Dotnet Core: How to Detect Operating System OS platform [.Net Core]

Determining OS platform in .NET Core: Here in this article will learn how to get the operating system details on which our .NET Core application is running.Theirs a requirement in my one application where I have to detect on which operating system my .NET Core application is running, .i.e Windows Operating System, OSX Operating System, […]


by - Satinder singh

Insert Data Using jQuery Ajax in Asp.net C# [Database MS SQLServer]

Insert Data Using jQuery Ajax in Asp.net C# [Database MS SQLServer]

Insert data with jquery ajax: Here in this article will see how to insert data using jquery ajax asp.net C#. i.e. A simple example for adding records into the database ( MS SQL SERVER) using jquery ajax in Asp.net C#. In my previous post have also explained how to fetch record from the database using […]


by - Satinder singh

ChartistJs : Create Responsive Charts in Asp.net C# [ Pie Chart, Donut Chart]

ChartistJs : Create Responsive Charts in Asp.net C# [ Pie Chart, Donut Chart]

 Responsive charts in Asp.net: This article explains how to create responsive charts in Asp.net C# with the database. For creating responsive charts, we are using Chartist.Js  a free javascript library. There is NO doubt that Responsive Web Design is very important for today’s Webdesign point of view. As Smartphone and tablet adoption rapidly increases, so […]


by - Satinder singh

Google org chart + Asp.net C# : Create simple organization chart with database [ MS SQL Server]

Google org chart + Asp.net C# : Create simple organization chart with database [ MS SQL Server]

 Organization Chart: This tutorial explains using Google Org Chart how we create a simple organization chart in Asp.net web application (webform.aspx page) .i.e using Google Visualization Organizational. While working on my one project, I had a similar requirement, where I have to show our Company organizational structure with live data from database MS SQL Server. Display […]


by - Satinder singh

1 2 3 8