0 Comments   232 Views
Here Mudassar Ahmed Khan has explained with an example, how to make any specific column or any one single column editable in ASP.Net GridView and keep other columns ReadOnly using C# and VB.Net.
0 Comments   497 Views
Here Mudassar Ahmed Khan has explained with an example, how to read or write Connection Strings in Web.Config file using ASP.Net using C# and VB.Net.
The Connection String will be read and written from the Connection String from the ConnectionStrings section of the Web.Config.
0 Comments   653 Views
Here Mudassar Ahmed Khan has explained with an example, how to build GridView FormView Master Detail example in ASP.Net using C# and VB.Net.
Here Mudassar Ahmed Khan has explained with an example, how to implement delete functionality with JavaScript Confirmation Box in ASP.Net Repeater control using C# and VB.Net.
0 Comments   338 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert (save) Byte Array as Image in ASP.Net using C# and VB.Net.
The Byte Array will be converted (saved) as Image using the File class in C# and VB.Net.
0 Comments   363 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert (save) Byte Array as File in ASP.Net using C# and VB.Net.
The Byte Array will be converted (saved) as File using the File class in C# and VB.Net.
0 Comments   410 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert Image file to Base64 encoded string in C# and VB.Net.
0 Comments   402 Views
Here Mudassar Ahmed Khan has explained with an example, how to reset (clear) ListBox selection (selected values) using JavaScript and jQuery.
Here Mudassar Ahmed Khan has explained with an example, how to reset (clear) DropDownList selection (selected value) using JavaScript and jQuery.
Here Mudassar Ahmed Khan has explained with an example, how to Delete (Remove) selected Item (Option) from DropDownList (DropDown) using JavaScript and jQuery.
Here Mudassar Ahmed Khan has explained with an example, how to delete / remove / clear all items (options) from DropDownList (DropDown) using JavaScript and jQuery.
Here Mudassar Ahmed Khan has explained with an example, how to execute multiple SQL Queries in one Statement using C# and VB.Net.
This article will illustrate how two SELECT queries separated by semicolon character are executed simultaneously in one Statement using C# and VB.Net.
Here Mudassar Ahmed Khan has explained with an example, how to add (insert) multiple DataTables to a DataSet in ASP.Net using C# and VB.Net.
The DataTables will be populated with records of different Tables from Database and then will be inserted into a DataSet.
Here Mudassar Ahmed Khan has explained with an example, how to implement delete functionality with JavaScript Confirmation Box in ASP.Net DetailsView using C# and VB.Net.
Here Mudassar Ahmed Khan has explained with an example, how to solve the following error (exception) that occurs in the WriteToServer function when SqlBulkCopy is used along with SqlTransaction class.
System.InvalidOperationException: Unexpected existing transaction.
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.
Here Mudassar Ahmed Khan has explained with an example, how to use SqlBulkCopy to insert bulk data to database with Transaction i.e. Commit and Rollback feature in ASP.Net using C# and VB.Net.
SqlBulkCopy will be used along with the SqlTransaction class in order to perform Bulk Insert with Transaction i.e. Commit and Rollback feature in ASP.Net.
Here Mudassar Ahmed Khan has explained with an example, how to disable an item (option) i.e. make not Selectable in ASP.Net DropDownList using C# and VB.Net.
Here Mudassar Ahmed Khan has explained a simple tutorial with example on how to use SqlDataSource with GridView control in ASP.Net.
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.
1 Comments   1184 Views
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.
Here Mudassar Ahmed Khan has explained with an example, how to dynamically change (modify) Connection String of SqlDataSource control in Code Behind in ASP.Net using C# and VB.Net.
In order to dynamically change (modify) Connection String of SqlDataSource control in ASP.Net, the SqlDataSource has to be dynamically added in Code Behind.