Here Mudassar Ahmed Khan has explained how to use Enumeration in JavaScript i.e. define and use Enum in JavaScript. JavaScript does not have any Enum data type but still we can create an array of key value pair and use it as Enum.
↧
Enumeration in JavaScript: How to define and use Enum in JavaScript
↧
Zoom (Enlarge) image on MouseOver in ASP.Net DataList using jQuery
Here Mudassar Ahmed Khan has explained how to zoom (enlarge) images on MouseOver in ASP.Net DataList using jQuery ElevateZoom Image Zoom plugin.
↧
↧
Modify (Alter) an existing Stored Procedure in SQL Server tutorial with example
Here Mudassar Ahmed Khan has explained a tutorial with example on how to modify (Alter) an existing Stored Procedure in SQL Server.
Using this tutorial you can easily modify (Alter) an existing Stored Procedure in all SQL Server versions i.e. 2000 2005, 2008, 2012 and 2014.
↧
Drop Stored Procedure Syntax: Delete a Stored Procedure in SQL Server
Here Mudassar Ahmed Khan has explained with example the syntax to drop a Stored Procedure in SQL Server i.e. how to delete a Stored Procedure in SQL Server.
Using this tutorial you can easily delete (Drop) an existing Stored Procedure in all SQL Server versions i.e. 2000, 2005, 2008, 2008R2, 2012 and 2014.
↧
Return Value from Stored Procedure in SQL Server example
Here Mudassar Ahmed Khan has explained with an example how to return value from a Stored Procedure in SQL Server. SQL Server allows to return a single integer value from a Stored Procedure using the RETURN keyword.
The Return keyword is supported in Stored Procedures of all SQL Server versions i.e. 2000, 2005, 2008, 2008R2, 2012 and 2014.
↧
↧
Pass (Send) value from Parent page window to Child popup window using JavaScript
Here Mudassar Ahmed Khan has explained how to pass (send) value from child popup window to parent page window using JavaScript.
The child popup window must be opened using JavaScript window.open function. The window.open function returns the reference of the opened Child popup window using which the elements and controls of the Child popup window will be accessed.
↧
Disable (restrict) Mouse Right Click using JavaScript and jQuery
Here Mudassar Ahmed Khan has provided code to disable / restrict / prevent mouse right click in web page using JavaScript and jQuery.
The code has to be copied in your web page HEAD section and it will disable / restrict / prevent mouse right click using JavaScript and jQuery.
↧
ASP.Net Persist Dynamic Controls: Dynamic Controls disappear after PostBack in ASP.Net
Here Mudassar Ahmed Khan has explained how to solve the problem of dynamic control disappearing after PostBack in ASP.Net i.e. Persists dynamic controls after PostBack in ASP.Net using C# and VB.Net.
Dynamically created controls have to be recreated on PostBack in order to persist dynamic controls across PostBacks.
↧
SQL Injection attack examples in SQL Server
Here Mudassar Ahmed Khan has explained SQL Injection attack and some examples of SQL Injection in SQL Server.
↧
↧
Encrypt Decrypt Web.Config section using aspnet_regiis.exe
Here Mudassar Ahmed Khan has provided a tutorial with example to encrypt and decrypt section in Web.Config file using aspnet_regiis.exe Command Line Utility of the Visual Studio.
This article explains encryption and decryption of Connection String section of the Web.Config file using aspnet_regiis.exe Command Line Utility of the Visual Studio.
↧
Start Windows Service Automatically start after Installation in C# and VB.Net
Here Mudassar Ahmed Khan has explained how to automatically start a Windows Service after installation is completed using C# and VB.Net.
The Windows Service will be started automatically after the installation is completed by making use of the AfterInstall event handler.
↧
Write data to Excel file (.xls and .xlsx) in ASP.Net
Here Mudassar Ahmed Khan has explained how to write (insert) data to Excel file Sheet (.xls and .xlsx) in ASP.Net using C# and VB.Net.
The data from database will be written (inserted) into the Excel file Sheet (.xls and .xlsx) and the file will be downloaded in ASP.Net.
↧
Add (Show) Serial Number in First Column of GridView in ASP.Net using C# and VB.Net
Here Mudassar Ahmed Khan has explained how to add and show Serial number in First Column of GridView in ASP.Net using C# and VB.Net.
The Serial Number can be auto generated in the following two ways.
1. Using DataItemIndex.
2. Using RowDataBound event.
↧
↧
Display daily Weather Forecast using Weather API in ASP.Net
Here Mudassar Ahmed Khan has explained how to display daily Weather Forecast using Weather API web service in ASP.Net using C# and VB.Net.
The Weather API web service accepts City Name or Zip Code and it returns data in JSON format which will be displayed on the ASP.Net Web page.
↧
GMAIL Error: The SMTP server requires a secure connection or the client was not authenticated
Here Mudassar Ahmed Khan has explained how to resolve the error The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required in ASP.Net Application.
↧
Simple Cursor Tutorial with Syntax example in SQL Server
Here Mudassar Ahmed Khan has provided a tutorial with simple example that explains
- What are Cursors in SQL Server?
- What is the syntax for writing Cursors in SQL Server?
- How to write and use Cursors in SQL Server?
- Disadvantages of a Cursor in SQL Server.
Cursor is supported in all SQL Server versions i.e. 2000, 2005, 2008, 2008R2, 2012 and 2014.
↧
Populate (Display) JSON data in HTML Table using jQuery
Here Mudassar Ahmed Khan has explained how to populate and display JSON data in HTML Table using jQuery.
The HTML Table will be dynamically created by looping through the JSON array elements on Button click using jQuery.
↧
↧
Call Code Behind (Server Side) function from Client Side code in ASP.Net using C# and VB.Net
Here Mudassar Ahmed Khan has explained how to call Code Behind (Server Side) methods or functions using Client Side JavaScript code in ASP.Net using C# and VB.Net.
The Code Behind (Server Side) function will be called using AJAX PageMethods and JavaScript.
↧
Call JavaScript function from Code Behind (Server Side) in ASP.Net using C# and VB.Net
Here Mudassar Ahmed Khan has explained how to call JavaScript Client Side function from Code Behind (Server Side) in ASP.Net using C# and VB.Net.
The JavaScript Client Side function will be called from Code Behind (Server Side) using ClientScript RegisterStartupScript method.
↧
Get selected Text of HTML Select DropDownList in ASP.Net using C# and VB.Net
Here Mudassar Ahmed has explained how to get the selected Text of HTML Select DropDownList in ASP.Net Code Behind (Server Side) using C# and VB.Net.
There are two ways we can access the HTML Select DropDownList selected Text in ASP.Net Code Behind (Server Side)
1. Using Request Form collection and name property.
2. Using runat = “server” property.
↧