Latest posts on "c-net"

C sharp partial class

20 June 2016

When working with large projects, partial class splits the class for multiple programmers to work on it at the same time.

How to check all rows in a gridview in asp.net?

1 June 2016

In this article we will discuss how to check all rows in a gridview in asp.net using javascript. When user clicks on the header checkbox it call a javascript function on that we are written logic about checkall/uncheckall for a gridview.

How to create autocomplete textbox with database in asp.net c#?

31 May 2016

In this article we will discuss to create autocomplete textbox using webmethod in asp.net c# application. It provides suggestion in a dropdown menu while the user enters text into the field. Please change the database connection string to connect your database.

How to create Enumerations in asp.net c#?

14 May 2016

The purpose of using enumeration is to improve readability by enabling us to use meaningful symbols instead of numeric values. The value of variable is an integer,it is easy to output the name of the symbol rather then its value.

How to create use StringBuilder in asp.net c#?

14 May 2016

StringBuilder is most flexible because it can span multiple statements. The default constructor creates a buffer 16 bytes long, which grows as needed. We can specify an initialize and also maximize size if needed.

How to create and sort array in asp.net c#?

14 May 2016

In c# arrays are declared using square braces and it provides members for working with its contained data. The following code declares an array with some initial data and then sorts the array.

How to convert text to image using asp.net c#?

12 May 2016

In this article we will discuss to convert text to image using System.Drawing namespace. Using Graphics property we can convert text it in to bitmap image and save it the specified loction.

How to bind Communications Port to dropdownlist in.net c#?

7 May 2016

In this article we will discuss, How to bind Communications Port to dropdownlist in.net c#. Communication port is a physical port, but also to virtual ports, such as ports created by Bluetooth or USB to serial adapters.

How to load ChartTypes in DropDownList using asp.net?

4 May 2016

In this article we will discuss, to load ChartTypes in DropDownList using asp.net. We will get list of chart name by using SeriesChartType and bind to DropDownList on PageLoad.