Category - SqlDataSource
Results 6 - 10 of 27
27 Mar 2016 27 Mar 2016 0 Comments  8459 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the following error (exception) that occurs when using the ASP.Net SqlDataSource control.
The connection name 'constr' was not found in the applications configuration or the connection string is empty.
23 Mar 2016 19 May 2020 0 Comments  19208 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with example on how to use SqlDataSource with GridView control in ASP.Net.
17 Mar 2016 14 Aug 2020 2 Comments  10705 Views
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.
15 Mar 2016 15 Mar 2016 0 Comments  10696 Views
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.
15 Mar 2016 20 May 2020 0 Comments  6575 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) GridView control using SqlDataSource in ASP.Net.
Results 6 - 10 of 27