Category - ASP.Net
Results 1 - 10 of 662
20 Aug 2014
0 Comments   113 Views
Here Mudassar Ahmed Khan has explained how to validate a dd/MM/yyyy format date string in TextBox in ASP.Net.
The dd/MM/yyyy date format string can be validated in the following possible ways

1. Using RegularExpressionValidator.
2. Using CustomValidator and JavaScript.
3. Using CustomValidator with Server Side validation using C# and VB.Net.
19 Aug 2014
0 Comments   181 Views
Here Mudassar Ahmed Khan has explained how to login with Google Account in ASP.Net Website using C# and VB.Net by making use of the free ASPSnippets.GoogleAPI.
17 Aug 2014
0 Comments   532 Views
Here Mudassar Ahmed Khan has explained how to automatically refresh ASP.Net AJAX UpdatePanel in ASP.Net.

UpdatePanel can be refreshed automatically after specific time or regular interval using the following two techniques.

1. Using AJAX Timer control.
2. Using JavaScript.
16 Aug 2014
1 Comments   427 Views
Here Mudassar Ahmed Khan has explained how to refresh (reload) UpdatePanel from JavaScript in ASP.Net.

Refreshing or reloading is achieved by making an ASP.Net AJAX UpdatePanel do a PostBack using JavaScript. This article will explain the different ways you can refresh or reload an UpdatePanel using JavaScript.

1. Using Hidden Button
2. Using __doPostBack
14 Aug 2014
0 Comments   623 Views
Here Mudassar Ahmed Khan has explained how to send Bulk (Mass) email in ASP.Net website using C# and VB.Net.

In order to improve the performance using Parallel ForEach Loop to send Bulk (Mass) emails by making use of Multi-Threading in ASP.Net.
14 Aug 2014
0 Comments   371 Views
Here Mudassar Ahmed Khan has explained how to handle errors and exceptions occurring in ASP.Net AJAX UpdatePanel control.

When AJAX UpdatePanel does Partial PostBack (AsyncPostBack) and some exception is thrown on the server side code, then the UpdatePanel will simply stuck and will not refresh and you will not see any error or exception from ASP.Net. Hence it is necessary to handle the ASP.Net AJAX UpdatePanel Exceptions and Errors.
11 Aug 2014
0 Comments   553 Views
Here Mudassar Ahmed Khan has explained how to save image as binary data into SQL Server database and also how to retrieve and convert the image back to their respective formats using C# and VB.Net.
11 Aug 2014
0 Comments   442 Views
Here Mudassar Ahmed Khan has explained how to save file as binary data inside SQL Server database and also how to retrieve them and convert them back to their respective formats using C# and VB.Net.
10 Aug 2014
0 Comments   652 Views
Here Mudassar Ahmed Khan has explained how to dynamically create/generate Zip Files on the fly in ASP.Net using the DotNetZip Library, C# and VB.Net.
10 Aug 2014
0 Comments   692 Views
Here Mudassar Ahmed Khan has explained how to upload and insert XML file data using Stored Procedure in ASP.Net using C# and VB.Net.

SQL Server 2005 onwards we can pass a parameter of XML data type to the Stored Procedure and also we can easily parse the XML and extract its attribute and Inner Text of tags.