19 Feb 2019 19 Feb 2019 0 Comments  54 Views
HTML  JSON  Table  AngularJS  Arrays  Image
Here Mudassar Ahmed Khan has explained with an example, how to use ng-src inside ng-repeat directive in AngularJS.

The ng-src directive is used along with Image elements in order to display Images from Model in AngularJS.

The Image will be stored in a Folder (Directory) on the Server and will be displayed by assign the URL of the Image to the ng-src directive in AngularJS.
19 Feb 2019 19 Feb 2019 0 Comments  62 Views
HTML  JSON  Table  AngularJS  Arrays  Image
Here Mudassar Ahmed Khan has explained with an example, how to display Images from JSON Array using ng-repeat in AngularJS.

This article will illustrate how to display Images using the ng-src directive with Image elements in AngularJS.

The Image will be stored in a Folder (Directory) on the Server and will be displayed by assign the URL of the Image to the ng-src directive in AngularJS.
13 Feb 2019 14 Feb 2019 0 Comments  275 Views
Here Mudassar Ahmed Khan has explained with an example, how to export HTML to PDF in Windows Forms Application using iTextSharp, C# and VB.Net.

First a DataGridView will be populated with some data and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table will be exported and saved as PDF file using iTextSharp and XMLWorkerHelper class in Windows Forms Application with C# and VB.Net.
13 Feb 2019 13 Feb 2019 0 Comments  226 Views
Here Mudassar Ahmed Khan has explained with an example, how to get RowIndex when CheckBox in GridView Row is Checked (Clicked) using JavaScript.

All the CheckBox inside the GridView will be assigned a Click event handler using JavaScript.

When the CheckBox inside the GridView Row is Checked (Clicked), the GridView Row will be referenced and then the RowIndex and the Row (Cell) values will be extracted and displayed using JavaScript Alert Message Box.
12 Feb 2019 18 Feb 2019 0 Comments  252 Views
Here Mudassar Ahmed Khan has explained with an example, how to export GridView data to Word document in ASP.Net using C# and VB.Net.

This article will illustrate how to export all Pages of GridView with Paging Enabled to Word document along with formatting i.e. Styles and Colors in ASP.Net.

When the Export Button is clicked, the GridView will be rendered as an HTML string which will be later written to Response Stream and ultimately downloaded as Word document in ASP.Net.
11 Feb 2019 18 Feb 2019 0 Comments  264 Views
Here Mudassar Ahmed Khan has explained with an example, how to export HTML Table to Excel file using jQuery in ASP.Net MVC Razor.

The HTML Table will be exported (converted) to Excel file using the jQuery table2excel plugin in ASP.Net MVC Razor.
11 Feb 2019 18 Feb 2019 0 Comments  234 Views
Here Mudassar Ahmed Khan has explained with an example, how to export WebGrid to Excel file using jQuery in ASP.Net MVC Razor.

The WebGrid’s HTML Table will be exported (converted) to Excel file using the jQuery table2excel plugin in ASP.Net MVC Razor.
08 Feb 2019 18 Feb 2019 0 Comments  442 Views
Here Mudassar Ahmed Khan has explained with an example, how to export GridView to PDF without using iTextSharp in ASP.Net.

This article will illustrate how to export GridView to PDF using jQuery in ASP.Net.

The GridView’s HTML Table will be first converted into a HTML5 Canvas using html2canvas plugin and then the HTML5 Canvas will be exported to PDF file using the pdfmake plugin in jQuery.
08 Feb 2019 18 Feb 2019 0 Comments  344 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) GridView to Excel file using JavaScript and jQuery in ASP.Net.

The GridView’s HTML Table will be exported (converted) to Excel file using the jQuery table2excel plugin in ASP.Net.
08 Feb 2019 18 Feb 2019 0 Comments  293 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) GridView to PDF file using JavaScript and jQuery in ASP.Net.

The GridView’s HTML Table will be first converted into a HTML5 Canvas using html2canvas plugin and then the HTML5 Canvas will be exported to PDF file using the pdfmake plugin in jQuery.
07 Feb 2019 18 Feb 2019 0 Comments  271 Views
Here Mudassar Ahmed Khan has explained with an example, how to allow only AlphaNumeric (Letters or Numbers), Underscore in Username and it must have length of 3 to 10 characters using JavaScript.

When the Submit Button is clicked, the Username in the TextBox will be validated using JavaScript and Regular Expression (Regex) and if the Username is invalid, the error message will be displayed next to the TextBox using JavaScript.
05 Feb 2019 05 Feb 2019 0 Comments  397 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Search function in Windows Forms Application using C# and VB.Net.

By default the DataGridView will show all records. As soon as user starts to type in the TextBox, the records will be searched in Database and the DataGridView rows will be filtered in Windows Forms (WinForms) Application using C# and VB.Net.
05 Feb 2019 05 Feb 2019 0 Comments  361 Views
Here Mudassar Ahmed Khan has explained with an example, how to Search all (multiple) Columns of DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

By default the DataGridView will show all records. As soon as user starts to type in the TextBox, the records will be searched in all (multiple) Columns displayed in the DataGridView and the DataGridView rows will be filtered in Windows Forms (WinForms) Application using C# and VB.Net.
05 Feb 2019 05 Feb 2019 0 Comments  370 Views
Here Mudassar Ahmed Khan has explained with an example, how to fetch (retrieve) data from Database using DataTable with C# and VB.Net.

This article will illustrate how to populate DataGridView with data from SQL Server Database using SqlDataAdapter and DataTable in Windows Forms (WinForms) Application with C# and VB.Net.
05 Feb 2019 05 Feb 2019 0 Comments  308 Views
Here Mudassar Ahmed Khan has explained with an example, how to fetch (retrieve) data from Database using DataReader with C# and VB.Net.

This article will illustrate how to populate DataGridView with data from SQL Server Database using SqlDataReader and DataTable in Windows Forms (WinForms) Application with C# and VB.Net.
05 Feb 2019 05 Feb 2019 0 Comments  288 Views
Here Mudassar Ahmed Khan has explained with an example, how to retrieve data from Database in Windows Forms Application using C# and VB.Net.

This article will illustrate how to retrieve data from SQL Server Database using DataTable and SqlDataAdapter in Windows Forms (WinForms) Application with C# and VB.Net.
05 Feb 2019 05 Feb 2019 0 Comments  320 Views
Here Mudassar Ahmed Khan has explained with an example, how to fetch data from Database and store into DataTable using C# and VB.Net.

This article will illustrate how to populate DataTable with data from SQL Server Database using SqlDataAdapter in Windows Forms (WinForms) Application with C# and VB.Net.
04 Feb 2019 04 Feb 2019 0 Comments  309 Views
Here Mudassar Ahmed Khan has explained with an example, how to retrieve data from Database and display in TextBox in Windows Application (WinForms) using C# and VB.Net.

This article will illustrate how to fetch records (data) from SQL Server Database using SqlDataReader and then set the retrieved values in Windows Application (WinForms) using C# and VB.Net.
04 Feb 2019 04 Feb 2019 0 Comments  323 Views
Here Mudassar Ahmed Khan has explained with an example, how to retrieve data from Database and set the value in TextBox in ASP.Net using C# and VB.Net.

This article will illustrate how to fetch records (data) from SQL Server Database using SqlDataReader and then set the retrieved values in TextBoxes in ASP.Net using C# and VB.Net.
01 Feb 2019 01 Feb 2019 0 Comments  480 Views
Here Mudassar Ahmed Khan has explained with an example, how to restrict user from entering Special Characters in TextBox using AngularJS.

This article will illustrate how to perform AlphaNumeric validation for TextBox i.e. allow only Alphabets and Numbers in TextBox using AngularJS.

The AlphaNumeric validation will be performed with the help of ngPatternRestrict module which uses Regular Expressions for restricting characters in TextBox in AngularJS.
01 Feb 2019 01 Feb 2019 0 Comments  380 Views
Here Mudassar Ahmed Khan has explained with an example, how to restrict user from entering Special Characters in TextBox using jQuery.

This article will illustrate how to perform AlphaNumeric validation for TextBox i.e. allow only Alphabets and Numbers in TextBox using jQuery.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in jQuery and if the inputted character is not AlphaNumeric i.e. Alphabet or Number, the error message will be displayed next to the TextBox.
01 Feb 2019 01 Feb 2019 0 Comments  578 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload and download PDF file from SQL Server Database in ASP.Net using C# and VB.Net.

The PDF file will be uploaded using FileUpload control and will be inserted into SQL Server Database Table.

A GridView control will display the PDF file present in the SQL Server Database Table along with an option to download the selected PDF file from Database in ASP.Net.
30 Jan 2019 30 Jan 2019 0 Comments  705 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload and download files from Folder (Directory) in ASP.Net using C# and VB.Net.

The uploaded Files will be read from Folder (Directory) on Server’s Disk and will be displayed in GridView control.

The uploaded Files can be downloaded and deleted from Folder (Directory) using the Download and Delete buttons in the ASP.Net GridView.
30 Jan 2019 30 Jan 2019 0 Comments  330 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Alphabet validation i.e. allow only Letters (A-Z) using OnKeyPress event in jQuery.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in jQuery and if the inputted character is not Alphabet i.e. Letters (A-Z), the error message will be displayed next to the TextBox.
30 Jan 2019 30 Jan 2019 0 Comments  307 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Alphabet validation i.e. allow only Letters (A-Z) using OnKeyPress event in JavaScript.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in JavaScript and if the inputted character is not Alphabet i.e. Letters (A-Z), the error message will be displayed next to the TextBox.