Category - SQL Server
Results 1 - 10 of 55
05 Apr 2014
0 Comments   1393 Views
Here Mudassar Ahmed Khan has explained how to send email from database using stored procedure in SQL Server.
This technique makes use of Collaboration Data Objects (CDO) for sending email messages which works in most SQL Server versions 2000, 2008, 2008R2 and 2012.
29 Nov 2013
3 Comments   12867 Views
Here Mudassar Ahmed Khan has explained how to display images stored in database in ASP.Net Image control without using Generic HTTP Handler.

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.
16 Sep 2013
5 Comments   20464 Views
Here Mudassar Ahmed Khan has explained how to use and return value from Stored Procedure using Output Parameter in ASP.Net.

For this article I a Table named Fruits is used which contains FruitId and FruitName columns. The name of the Fruit is fetched using Output Parameter in SQL Server Stored Procedure in ASP.Net
26 Aug 2013
0 Comments   2008 Views
Here Mudassar Ahmed Khan has explained how to

1. Use the SQL Server 2008 Time Data Type and define its columns in Tables.
2. Understanding the precision in Time Data Type.
3. Get Current System Time.
4. How to insert Time Values using SQL Query into Tables.

In order to explain the concept practically I have created a Table named as Meetings which is used to reserve Meeting Room by various employees in the company
24 Aug 2013
0 Comments   8591 Views
Here Mudassar Ahmed Khan has explained, how to add Meta Tags in Master Page, Child Content Pages (ASPX).

The Title and Meta Tags like Keywords from and Description are dynamically populated from database and programmatically added to head section of the Master Page in ASP.Net.
18 Aug 2013
0 Comments   5921 Views
Here Mudassar Ahmed Khan has explained, how to dynamically add meta tags in ASP.Net Website.

The dynamic meta tags will be populated from database and each meta tag will be added dynamically to head section of page.
17 Aug 2013
0 Comments   9501 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate and display Google Maps V3 with Multiple Markers using the Latitude and Longitude stored in database in ASP.Net Website.
17 Jul 2013
0 Comments   2183 Views
Here Mudassar Ahmed Khan has explained how to

1. Use the SQL Server 2008 Time Data Type and define its columns in Tables.
2. Understanding the precision in Time Data Type.
3. Get Current System Time.
4. How to insert Time Values using SQL Query into Tables.

In order to explain the concept practically I have created a Table named as Meetings which is used to reserve Meeting Room by various employees in the company
02 Jul 2013
1 Comments   12704 Views
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to make use of ASP.Net AJAX Control Toolkit CascadingDropDown control in ASP.Net Website.

Three AJAX Cascading Dropdowns along with the three corresponding ASP.Net DropDownLists will be populated from SQL Server database with values of Country State City using Web Service and Web Methods.

On Page Load list of Countries is populated, when Country is selected, the list of States will be populated, and when a State is chosen list of Cities will be populated, thus at the end we get a Country, State and City Cascading DropDownLists implemented using ASP.Net AJAX CascadingDropDown control and SQL Server database.

Finally the article also explains how to access the values of the ASP.Net AJAX CascadingDropDown DropDownList Server Side on button click.
29 Jun 2013
0 Comments   8120 Views
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to make use of ASP.Net AJAX Control Toolkit CascadingDropDown control in ASP.Net Website.

Three AJAX Cascading Dropdowns along with the three corresponding ASP.Net DropDownLists will be populated from SQL Server database with values of Country State City using Web Service and Web Methods.

On Page Load list of Countries is populated, when Country is selected, the list of States will be populated, and when a State is chosen list of Cities will be populated, thus at the end we get a Country, State and City Cascading DropDownLists implemented using ASP.Net AJAX CascadingDropDown control and SQL Server database.

Finally the article also explains how to access the values of the ASP.Net AJAX CascadingDropDown DropDownList Server Side on button click.