asp.net

Button class properties and its descriptions

Web developers can use the Button control to create a push button on the Web page. They can create a Submit or a Command button.

By default, a Button control is a Submit button i.e. does not have a command name specified by the CommandName property and associated with the button. This kind of button simply posts the Web …

Learn more

TextBox class properties and its descriptions

The TextBox server control is used when end user has to enter text. Web developers can determine how server control is displayed using TextBoxMode property. By default, the TextMode of the control is set to TextBoxMode.SingleLine, which displays a single-line text box. Alternatives are TextBoxMode.MultiLine to display a multiline textbox or TextBoxMode.Password to use a text box that …

Learn more

Label class properties and its descriptions

Web developers can use the Label control to display text in a set location on the page. They can customize the displayed text through the Text property.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)

Property
Description
Supported in .NET version

AccessKey
This property returns or sets the access key that allows software developer to quickly navigate to the Web server control.
1.0,1.1, 2.0, …

Learn more

WebContol class properties and its descriptions

The WebControl class provides the properties, methods, and events that are common to all controls in the System.Web.UI.WebControls namespace. Web developers can control the appearance and behavior of a Web server control by setting properties defined in this class.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)

Property
Description
Supported in .NET version

AccessKey
This property returns or sets the access key that allows software …

Learn more

How to create new aspx web page

To add a page to the Web site:
In Solution Explorer, right-click the Web site (for example, C:\HowToASPNET), and then click Add New Item.

The Add New Item dialog box is displayed.

In the template list, select Web Form.
In the Name box, type the name of the new aspx page, by example MyNewPage.
Click Add.

Visual Studio creates the new aspx page and …

Learn more

How to reset autonumber in Access 2007

To reset autonumber in Microsoft Office Access 2007, follow these steps:

Delete the AutoNumber field from the main table.
Click the Create tab, and then choose Query Design.
In the Show Table dialog box, select the main table. Click Add, and then Close.
Double-click the required fields in the table view of the main table to select the fields.
Select the required Sort …

Learn more

How to move ASP.NET 4 hosting account

To move your ASP.NET 4 website to new hosting account you should follow the next steps:

Create new ASP.NET hosting account on the new server.
Backup your ASP.NET 4 projects – all files, databases etc…
Deploy your project to the new Windows server.
Test to check if everything is OK.
Change your DNS records and point your domain name to the new Windows …

Learn more

How to set focus on control in C#

You can put the focus on the following types of ASP.NET controls: Button, LinkButton, and ImageButton controls, CheckBox control, DropDownList control, FileUpload control, HyperLink control, ListBox control, RadioButton control, TextBox control.

The following C# code example shows how to set the focus on the control with the ID TextBox1:

protected void Page_Load(object sender, EventArgs …

Learn more

How to set focus on control in VB.NET

You can put the focus on the following types of ASP.NET controls: Button, LinkButton, and ImageButton controls, CheckBox control, DropDownList control, FileUpload control, HyperLink control, ListBox control, RadioButton control, TextBox control.

The following VB.NET code example shows how to set the focus on the control with the ID TextBox1:

Protected Sub Page_Load(ByVal sender As Object, _    ByVal e As System.EventArgs)    …

Learn more

ASP.NET Versions

ASP.NET 1.0

Object-oriented web application development supporting inheritance, polymorphism and other standard OOP features.
Based on Windows programming; the developer can make use of DLL class libraries and other features of the web server to build more robust applications that do more than simply rendering HTML.

ASP.NET 1.1

Mobile controls.
Automatic input validation.

ASP.NET 2.0

New data controls (GridView, FormView, DetailsView).
New technique for declarative data …

Learn more