31 Jul 2015
0 Comments   203 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Password and Confirm Password validation for Password TextBox using JavaScript and jQuery.
The values of the Password and Confirm Password TextBoxes are compared using JavaScript and jQuery and if the values do not match an error message is displayed.
30 Jul 2015
0 Comments   342 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate ASP.Net Repeater client side by fetching DataSet or DataTable from server as XML using jQuery AJAX.
Using jQuery AJAX and WebMethod, the records will be fetched using DataSet received as XML string and then the XML string will be used to populate the ASP.Net Repeater on Client Side using jQuery.
30 Jul 2015
0 Comments   143 Views
Here Mudassar Ahmed Khan has explained with an example, how to prevent / disable / hide adding of New Row to DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
This article will explain two ways to prevent / disable / hide addition (creation) of New Row in DataGridView.
1. Using Properties Window.
2. Using Code.
30 Jul 2015
0 Comments   242 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Select, Insert, Edit, Update and Delete operations using LINQ to SQL Framework in ASP.Net GridView using C# and VB.Net.
This process is also known as CRUD i.e. Create, Read, Update and Delete in GridView using LINQ to SQL Framework in ASP.Net.
29 Jul 2015
0 Comments   279 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Select, Insert, Edit, Update and Delete operations using LINQ to SQL Framework in ASP.Net using C# and VB.Net.
This process is also known as CRUD i.e. Create, Read, Update and Delete in GridView using LINQ to SQL Framework in ASP.Net.
29 Jul 2015
0 Comments   249 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform select, insert, edit, update, delete using Entity Framework in ASP.Net GridView using C# and VB.Net.
This process is also known as CRUD i.e. Create, Read, Update and Delete in GridView using Entity Framework in ASP.Net.
29 Jul 2015
0 Comments   260 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform select, insert, edit, update, delete using Entity Framework in ASP.Net using C# and VB.Net.
This process is also known as CRUD i.e. Create, Read, Update and Delete in GridView using Entity Framework in ASP.Net.
28 Jul 2015
0 Comments   294 Views
Here Mudassar Ahmed Khan has explained with an example, how to use trustAsHtml method of $sce service for displaying HTML content using AngularJS.
28 Jul 2015
0 Comments   196 Views
Here Mudassar Ahmed Khan has explained with an example, how to use ngSanitize module to display HTML content in AngularJS.
28 Jul 2015
0 Comments   309 Views
Here Mudassar Ahmed Khan has explained with an example, how to show hide (toggle) HTML DIV on CheckBox click i.e. checked – unchecked or selected – unselected using ng-show and ng-change directives.
27 Jul 2015
0 Comments   379 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the AngularJS to save and retrieve data from HTML5 LocalStorage and SessionStorage objects.
27 Jul 2015
0 Comments   366 Views
Here Mudassar Ahmed Khan has explained with an example, how to Call (Trigger) Button Click event on Enter Key Press in ASP.Net.
There is no server side key press event for an ASP.Net TextBox, hence using a Panel and its Default Button trick we can achieve the same.
26 Jul 2015
0 Comments   414 Views
Here Mudassar Ahmed Khan has explained with an example, how to use populate HTML Select DropDownList with selected option using AngularJS.
26 Jul 2015
0 Comments   303 Views
Here Mudassar Ahmed Khan has explained with an example, how to use AngularJS ng-repeat directive to populate Key Value pairs in HTML Select DropDownList.
26 Jul 2015
0 Comments   318 Views
Here Mudassar Ahmed Khan has explained with an example, how to use AngularJS ng-options directive to populate Key Value pairs in HTML Select DropDownList.
25 Jul 2015
0 Comments   603 Views
Here Mudassar Ahmed Khan has explained with an example, how to create dynamic ASPX Page on the Fly in ASP.Net using C# and VB.Net.
25 Jul 2015
0 Comments   287 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (fill) DataTable and DataSet using DataReader (SqlDataReader) in C# and VB.Net.
The DataTable and DataSet will be populated with records from the DataReader using Load method of the DataTable.
24 Jul 2015
0 Comments   443 Views
Here Mudassar Ahmed Khan has explained a tutorial with an example, how to use the ASP.Net AJAX Timer control.
The ASP.Net AJAX Timer control will be used to automatically refresh ASP.Net AJAX UpdatePanel at regular intervals.
24 Jul 2015
0 Comments   403 Views
Here Mudassar Ahmed Khan has explained with an example, how to do Partial PostBack using JavaScript in ASP.Net.
Partial PostBack using JavaScript is achieved by making an ASP.Net AJAX UpdatePanel do a Partial PostBack using the following two ways.
1. Using Hidden Button
2. Using __doPostBack
24 Jul 2015
0 Comments   485 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete (Remove) row from GridView on Button (LinkButton) click in ASP.Net using C# and VB.Net.
The GridView Row will be deleted (removed) using CommandField column and it can be displayed as Button as well as LinkButton by setting the ButtonType property to Button or LinkButton respectively.
21 Jul 2015
0 Comments   732 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload file without clicking Submit Button when using the FileUpload control in ASP.Net using C# and VB.Net.
The Submit Button will be hidden and as soon as File is selected using FileUpload control, the Submit Button click event is triggered using JavaScript which will do PostBack and file is uploaded.
21 Jul 2015
1 Comments   602 Views
Here Mudassar Ahmed Khan has explained with an example, what is Globalization and Localization in ASP.Net and the differences between Globalization and Localization in ASP.Net.
20 Jul 2015
0 Comments   736 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Select, Insert, Update and Delete operations using a single Stored Procedure in SQL Server.
Performing Select, Insert, Update and Delete operations using a single Stored Procedure is supported in SQL Server versions i.e. 2005, 2008, 2008R2, 2012, 2014 or higher.
19 Jul 2015
0 Comments   712 Views
Here Mudassar Ahmed Khan has explained with an example, how to display and change image in Image control based on DropDownList selection in ASP.Net using C# and VB.Net.
When DropDownList selection is changed, the images stored as Binary data will be fetched as BYTE Array and then the BYTE Array will be converted to BASE64 string and then assigned to the ASP.Net image control.
19 Jul 2015
0 Comments   515 Views
Here Mudassar Ahmed Khan has explained with an example, how to load / fill/ populate DataTable from Stored Procedure in ASP.Net using C# and VB.Net.
The records returned from the Stored Procedure will be loaded into the DataTable using ADO.Net SqlDataAdapter in C# and VB.Net
17 Jul 2015
0 Comments   485 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind / fill/ populate DataTable from Database in ASP.Net using C# and VB.Net.
17 Jul 2015
0 Comments   547 Views
Here Mudassar Ahmed Khan has explained with an example, how to display (bind) data from DataTable in GridView in ASP.Net using C# and VB.Net.
15 Jul 2015
0 Comments   655 Views
Here Mudassar Ahmed Khan has explained with an example, how to get count (number) of rows in HTML Table using JavaScript and jQuery.
This article will explain how to get the total count of the number of rows in HTML Table and also how to get the count of the number of all rows except the First (Header) row in HTML Table using JavaScript and jQuery.
15 Jul 2015
0 Comments   536 Views
Here Mudassar Ahmed Khan has explained with an example, how to get count (number) of rows in ASP.Net GridView using jQuery.
This article will explain how to get the total count of the number of rows in ASP.Net GridView and also how to get the count of the number of all rows except the First (Header) row in ASP.Net GridView using jQuery.
15 Jul 2015
0 Comments   468 Views
Here Mudassar Ahmed Khan has explained with an example, how to get count (number) of rows in ASP.Net GridView using JavaScript.
This article will explain how to get the total count of the number of rows in ASP.Net GridView and also how to get the count of the number of all rows except the First (Header) row in ASP.Net GridView using JavaScript.
14 Jul 2015
0 Comments   739 Views
Here Mudassar Ahmed Khan has explained with an example, how to use IF ELSE condition in BoundField column in ASP.Net GridView using C# and VB.Net.
IF ELSE statement is not supported in BoundField column in ASP.Net GridView, hence RowDataBound event of GridView is used to serve the purpose.
14 Jul 2015
0 Comments   695 Views
Here Mudassar Ahmed Khan has explained with an example, how to use IF ELSE condition in TemplateField (ItemTemplate) column in ASP.Net GridView using C# and VB.Net.
IF ELSE statement is not supported in TemplateField (ItemTemplate) column in ASP.Net GridView, but using Inline Expressions, a simple IF ELSE condition can be used in TemplateField (ItemTemplate) column in ASP.Net GridView.
14 Jul 2015
0 Comments   420 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) result value of EXEC function to Variable in SQL Server.
The capturing and assigning result value from EXEC function to a variable is supported in SQL Server versions i.e. 2000, 2005, 2008, 2008R2, 2012, 2014 or higher.
14 Jul 2015
0 Comments   562 Views
Here Mudassar Ahmed Khan has explained with an example, how to use IF ELSE condition with EVAL function in ASP.Net controls such as GridView, DetailsView, DataList, Repeater, etc. using C# and VB.Net.
13 Jul 2015
0 Comments   827 Views
Here Mudassar Ahmed Khan has explained with an example, how to display the details of the GridView Row in JavaScript alert message box when the Button inside the GridView Row is clicked in ASP.Net using C# and VB.Net.