Category - ASP.Net
Results 86 - 90 of 1201
Here Mudassar Ahmed Khan has explained with an example, how to make the First (Default) item (option) not Selectable in ASP.Net DropDownList using C# and VB.Net.
Generally DropDownList controls have a default first item (option) such as “Please select” which is not meant to be selected and hence using this technique user will not be able to select the First (Default) item (option) in the ASP.Net DropDownList.
Here Mudassar Ahmed Khan has explained with an example, how to populate add Default Item (Initial Value) to DropDownList populated using SqlDataSource in ASP.Net.
Generally we want to have a default selected item such as Please Select. This article will explain how to add such default item when DropDownList is populated using SqlDataSource.
Here Mudassar Ahmed Khan has explained with an example, how to use Connection String from Web.Config file in ASP.Net using C# and VB.Net by reading the value of the Connection String from the ConnectionStrings section of the Web.Config.
In ASP.Net Web applications, one has to reference the System.Configuration Assembly in order to read Connection String value from the Web.Config file.
Here Mudassar Ahmed Khan has explained with an example, how to read (set) connection string from Web.Config file when using the ASP.Net SqlDataSource control.The Connection String will be set in the ConnectionStrings section of the Web.Config file and using the name of the ConnectionString setting, the SqlDataSource control will be assigned the connection string to the database.
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) GridView control using SqlDataSource in ASP.Net.
Results 86 - 90 of 1201