Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

how to bind dropdownlist in asp.net using jquery or JSON

Jul 18, 2012 20 comments
Introduction

Here I will explain how to bind dropdownlist using JQuery ajax or JSON in asp.net.
Description:
  
In previous articles I explained
Bind gridview using JQuery in asp.net  and AutoComplete textbox with JQuery using asp.net. Now I will explain how to bind dropdownlist using JQuery or JSON in asp.net.
To implement this concept first design table in database and give name as Country as shown below

How to send or pass multiple parameters in jquery ajax in asp.net

Jul 17, 2012 2 comments
Introduction:

Here I will explain how to send or pass multiple parameters using JQuery or JSON in asp.net.

Description:

In previous posts I explained articles relating JSON in that I explained how to call page methods using JSON or JQuery in asp.net or Auto complete textbox with JQuery/JSON in asp.net. Now I will explain how to pass or send multiple parameters using JQuery or JSON in asp.net.

If we want to send or pass multiple parameters using JSON or JQuery in asp.net we need to declare it like as shown below

how to check dataset is null or empty in asp.net | Check dataset contains a data or not

5 comments
Introduction:

Here I will explain how to check a dataset contains data or dataset is null or empty in asp.net.

Description:

In previous posts I explained many articles relating code snippets in asp.net. Now I will explain how to check if dataset contains any data or dataset is null or empty in asp.net.

If we want to check dataset contains data or not for that we need to write code as shown below

How to send mail with multiple attachments in asp.net

Jul 10, 2012 24 comments
Introduction

In this article I will explain how to send mail with multiple attachments in asp.net.

Description:

In previous post I explained how to send mail with attachment in asp.net. Now I will explain how to send mail with multiple attachments in asp.net. During work with one of the application I got requirement like send mail with multiple attachments in asp.net actually we can implement this concept very easily just by adding few lines of code to how to send mail with attachment in asp.net.

Query to return default value if column contains null value in SQL Server

4 comments
Introduction:

Here I will explain how to write a query to return default value if column contains null value in SQL Server.

Description:

In previous articles I explained how to delete null or empty values from datatable in SQL Server and many articles relating to SQL Server. Now I will explain how to write a query to return default if column contains null value in SQL Server. For that first design one table (UserInfo) in database and enter data like as shown below

Get output parameter from stored procedure in asp.net

Jul 9, 2012 3 comments
Introduction

In this article I will explain how to get output parameters returns by stored procedure in asp.net.

Description:

In previous posts I explained many articles relating asp.net,
gridview, JQuery, SQL Server etc. Now I will explain how to get output parameters return by stored procedure in asp.net. First we will see how to write a stored procedure to return output parameters for that check this post write stored procedure to return output parameters in SQL Server. Once stored procedure designed in database write the following code in code behind to get output parameters returns by stored procedure in asp.net.

Query to delete null or empty values from datatable in sql server

4 comments
Introduction:

Here I will explain how to write a query to delete null or empty values from datatable in SQL Server.

Description:

In previous articles I explained many articles relating to SQL Server. Now I will explain how to write a query to delete null or empty values from datatable in SQL Server. For that first design one table (UserInfo) in database and enter data like as shown below

Query to convert lowercase to uppercase characters in SQL Server

Jul 8, 2012 6 comments
Introduction:

In this article I will explain how to write a query to convert or change lowercase to uppercase or uppercase to lowercase characters in SQL server.

Description:

In previous post I explained how to alter or modify or delete or change already existing column in datatable in SQL Server and many articles relating to SQL Server. Now I will explain how to convert or change lowercase to uppercase or lowercase to uppercase characters in SQL Server. Here I will explain with one example for that I have one table UserDetails like as shown below

Query to change the datatype of column in sql server

3 comments
Introduction:

In this article I will explain how to change or rename datatype of column in SQL server.

Description:

In previous post I explained how to alter or modify or delete or change already existing column in datatable in SQL Server and many articles relating to SQL Server. Now I will explain how to rename or change datatype of column name or table name in SQL Server.

Syntax to modify existing column datatype in table

If we want to modify existing column datatype from data table that syntax will be like this

Add datatable data with comma separated values in string

Jul 6, 2012 2 comments
Introduction:

Here I will explain how to add or bind datatable column data with comma separated values in asp.net.

Description:

In previous article I explained about self join in SQL server, Joins in SQL Server and many more articles relating to SQL Server. Now I will explain how to add datatable data with comma separated values in asp.net.
© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.