Quantcast
Channel: ASPSnippets RSS Feed
Viewing all 4757 articles
Browse latest View live

Set dd/MM/yyyy Date format in Bootstrap DatePicker

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to set dd/MM/yyyy Date format in Bootstrap DatePicker (Calendar). The Bootstrap DatePicker supports multiple Date formats and in order to set the dd/MM/yyyy Date format, the format property needs to be set.

Implement Bootstrap DatePicker with Calendar Icon (Image)

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to show Calendar Icon (Image) next to TextBox using Bootstrap DatePicker (Calendar) plugin. The Calendar Icon (Image) will be displayed using Calendar Icon with Bootstrap FontAwesome Glyphicon Icon. When the Bootstrap FontAwesome Glyphicon Icon is clicked, the Bootstrap DatePicker Calendar is shown.

Read Excel File data in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to read Excel File (xls & xlsx) data in ASP.Net using C# and VB.Net. When the Excel file is uploaded, the Excel File data is available in the InputStream property of the FileUpload control. Using ClosedXml library, the Excel file data can be easily read from the InputStream property and displayed on Web Page using GridView in ASP.Net using C# and VB.Net.

ASP.Net Core: Bootstrap DatePicker (Calendar) implementation

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to implement Bootstrap DatePicker (Calendar) in ASP.Net Core MVC. This article will also illustrate how to get the selected Date of the Bootstrap DatePicker (Calendar) inside Controller on Button click in ASP.Net Core MVC. The Date format for the selected Date will be set to dd/MM/yyyy format.

jQuery Add Cookie: Set (Save) Cookies in jQuery example

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to add Cookie using jQuery i.e. set (save) Cookie in Browser using jQuery.

jQuery Delete Cookie: Remove Cookies in jQuery example

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to delete Cookie using jQuery i.e. remove Cookie from Browser using jQuery.

Send Email using Web Service in ASP.Net using C# and VB.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to send email using Web Service in ASP.Net using C# and VB.Net. In this article, Gmail SMTP Mail Server will be used for sending emails. To send email with Gmail SMTP Server, you will need to use an email address and password of a valid Gmail account and along with that you will need the Gmail SMTP Mail Server settings.

Send Email using Contact Form in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to send email using Contact Us Form in ASP.Net using C# and VB.Net. The Contact Us Form contains some TextBox controls, a Rich TextBox and a FileUpload control to attach file. When the Send Button is clicked, the values from the TextBox fields are embedded into HTML string and the HTML string is send as Email and the File is attached to the Email.

Send email using jQuery AJAX in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to send email using jQuery in ASP.Net using C# and VB.Net. The jQuery AJAX function will call a Web Service (Web Method) which will send email using Gmail SMTP Mail Server. Once the Email is sent, a Confirmation will be sent back to the jQuery AJAX function which in turn will be display a Success message using JavaScript Alert Message Box.

Read SMTP Mail Settings from Web.Config file in ASP.Net using C# and VB.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to read SMTP Mail settings from Web.Config file in ASP.Net using C# and VB.Net. The SMTP Mail settings are stored in the mailSettings sub-section of the system.net section of the Web.Config file. The SmtpSection class of the System.Net.Configuration namespace is used to read the SMTP Mail settings from Web.Config file in ASP.Net using C# and VB.Net.

Send Email with App Settings in Web.Config file in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to send Email with App Settings in Web.Config file in ASP.Net using C# and VB.Net. The SMTP Mail settings are stored in the mailSettings sub-section of the system.net section of the Web.Config file. The SmtpSection class of the System.Net.Configuration namespace is used to read the SMTP Mail settings from Web.Config file in ASP.Net using C# and VB.Net.

Configure Email SMTP Settings in Web.Config file in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to configure Email SMTP Settings in Web.Config file in ASP.Net using C# and VB.Net. The SMTP Mail settings are stored in the mailSettings sub-section of the system.net section of the Web.Config file. The SmtpSection class of the System.Net.Configuration namespace is used to read the SMTP Mail settings from Web.Config file in ASP.Net using C# and VB.Net.

Configure GMAIL SMTP settings in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to configure GMAIL SMTP settings in ASP.Net using C# and VB.Net. The SMTP Mail settings are stored in the mailSettings sub-section of the system.net section of the Web.Config file. The SmtpSection class of the System.Net.Configuration namespace is used to read the SMTP Mail settings from Web.Config file in ASP.Net using C# and VB.Net.

Send Email with example in ASP.Net using C# and VB.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to send email in ASP.Net using C# and VB.Net. The SMTP Mail settings are stored in the mailSettings sub-section of the system.net section of the Web.Config file. The SmtpSection class of the System.Net.Configuration namespace is used to read the SMTP Mail settings from Web.Config file in ASP.Net using C# and VB.Net.

Send Form Data to Email in ASP.Net using C# and VB.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to send Form Data to Email in ASP.Net using C# and VB.Net. The Contact Us Form contains some TextBox controls, a Rich TextBox and a FileUpload control to attach file. When the Send Button is clicked, the values from the TextBox fields are embedded into HTML string and the HTML string is send as Email and the File is attached to the Email.

Call (Consume) Web Service (ASMX) in HTML Page using jQuery AJAX in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web Service (ASMX) in HTML Page using jQuery AJAX in ASP.Net using C# and VB.Net. The Web Method of Web Service (ASMX) in HTML Page will be called using jQuery AJAX Post Method.

ASP.Net Core: Implement Google Maps from Database in .Net Core

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to implement, populate and display Google Maps V3 from database in ASP.Net Core MVC. The database records consisting of Latitude and Longitude information will be used to populate Google Maps with multiple markers in ASP.Net Core MVC.

ASP.Net: Show Google Maps using Latitude and Longitude in MVC

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to show Google Maps using Latitude and Longitude in ASP.Net MVC Razor. The Latitude and Longitude values of different geographical locations will be fetched from database and displayed on Google Maps in ASP.Net MVC Razor.

Using Html.Raw Helper Method in ASP.Net MVC

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to use Html.Raw Helper Method in ASP.Net MVC Razor. The Html.Raw Helper Method is used to display HTML in Raw format i.e. without encoding in ASP.Net MVC Razor.

Call (Consume) Web Service (ASMX) in HTML Page using Plain JavaScript in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web Service (ASMX) in HTML Page using Plain JavaScript in ASP.Net using C# and VB.Net. The Web Method of Web Service (ASMX) in HTML Page will be called using XmlHttpRequest (XHR) AJAX call in ASP.Net.
Viewing all 4757 articles
Browse latest View live