Alex R

 06-Jun-2010
 14
 5810
 India

Validating FileUpload control for specific file type and required field.

In this article I am going to explain how we can check and validate user for uploading only certain files and making uploading of file to be must for submission of form.

Triggers in SQL Server

The trigger is mostly used for keeping the integrity of the information on the database.

Connection Strings

A connection string provides the information that a provider needs to communicate with a particular database.

Ajax Toolkit DragPanelExtender Control in ASP.Net

The DragPanel targets any ASP.NET Panel and takes an additional parameter that signifies the control to use as the "drag handle".

AJAX 

Ajax Toolkit ColorPickerExtender Control in ASP.Net

ColorPicker is an ASP.NET AJAX extender that can be attached to any ASP.NET TextBox control.

AJAX 

URL Routing in ASP.Net 3.5(IIS7)

Service Pack 1 for the Microsoft .NET Framework 3.5 introduced a routing engine to the ASP.NET runtime.

DATA ACCESS FROM THE DATABASE IN DATAGRIDVIEW

In this Application we have to show how data is populating from the database in Datagridview on the click of a button .

INSERTING DATA AND FETCHING RECORDS FROM DATABASE IN C# .NET

First Step is to open a new project in Microsoft visual studio, then open a Design view in the form and place a various label as well as text field .

WORKING ON MDI (MULTI DOCUMENT INTERFACE)

In this Application we have to show the working of MDI Form and their various Properties with the help of an example. Choose a New Project and Name as MDISample, Next Right Click on the right hand side of MDISample and Click on ADD Option then Click

C#
C# 

OOP’s Concept

“Polymorphism means one name multiple forms”. Using this feature we can make more than one method using the same name. Polymorphism can be achieved in two ways method overloading and method overriding.

.NET 

RUNNING PROCESS IN C#

None

C#
C# 

HOW TO USE COLOR DIALOG BOX IN C#

Program states that in one form if we want to place one button, while clicking on the button next form is appear with change color and having a display button like change color in a new window button,

C#
C# 

Assembly

Assembly is a collection of dll, exe, html, the assembly manifest which is a collection of metadata i.e. data about data that describes name of the assembly, culture setting, versioning, security and other resources.

How to use TreeView Control and WebBrowser Control in CSharp .NET

TreeViews have plus symbols that we can click. To add one to our form find tree view control on tool box and use it in your form.

C#
C# 

Tool Tip in C Sharp

To display tool tip of control in application we have to use ToolTip control from tool box.

C#
C# 

How to split form background color in C Sharp

This will change Windows form back color according to Button Click.

C#
C# 

How to read data from XML file in C Sharp

To read data from XML file we have to assign XML file to data set using ReadXml() function of dataset.

XML
XML 

How to populate records in ComboBox

To populate ComboBox we have to add the values of DataRows to it

C#
C# 

HOW TO PASS VALUE FROM ONE FORM TO ANOTHER FORM

To pass value from one form to another we have to add a property in the form from which we want to send data. To set property we have to write the following code. Let us say this is form2.

C#
C# 

How to create XML file through C Sharp

Here I’m creating XML file through C#.

XML
XML 

How to Create XML file of Database in C Sharp

To create XML file of Database we have to call WriteXml() function of Data Set.

XML
XML 

Timer in C Sharp

The Timer control allows you to set a time interval to peridically execute an event at a specified interval. It is useful when you want to execute certain applications after a certain interval.

C#
C# 

this keyword in CSharp .NET

The ‘this’ keyword refers to the current instance of the class. ‘this’ keyword is used when we want to track the instance, which is invoked to perform some calculation or further processing relating to that instance.

C#
C# 

Web Services in ASP.Net

Web services are used to give websites program functionality via internet. Web services can accept messes and can return replies.

Windows Service

Windows services don’t have any user interface, when we want to create any long running code we create windows services which runs in background.

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!