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

Gridview inside gridview in asp.net - nested gridview example

May 30, 2012 60 comments
Introduction

In this article I will explain how to implement gridview with in a gridview example or nested gridview with expand/collapse options in asp.net. 

Description:

In previous posts I explained asp.net gridview examples and
bind data to textbox control in gridview ,Bind data to dropdownlist  in gridview in asp.net. Now I will explain how to implement gridview within gridview or nested gridview example in asp.net.

To implement this concept first design tables (Country and State) in your database as explained in this post populate dropdown based on another dropdown in asp.net. After completion of table design write following code in your aspx page like this 

Bind data to asp.net dropdownlist in gridview

May 27, 2012 30 comments
Introduction:

In this article I will explain how to bind data to dropdownlist in inside of gridview in asp.net.

Description:

In previous post I explained article how to bind data to textbox control in gridview in asp.net. Now I will explain how to bind data to dropdownlist in inside of gridview in asp.net.

To implement this concept first design tables in your database as explained in this post populate dropdown based on another dropdown in asp.net . After that design your aspx page like this 

Gridview examples in asp.net

32 comments
Check below articles for asp.net gridview control examples and samples in c#,VB.NET
































Bind Data to asp.net textbox control in inside of gridview

11 comments
Introduction:

In this article I will explain how to bind data to textbox in inside of gridview in asp.net.

Description:

In previous post I explained how to bind xml data to dropdownlist or gridview in asp.net. Now I will explain how to bind data to textbox in gridview in asp.net. To implement this concept first design your aspx page like this 

SQL Server Query to Delete Duplicate Records (Rows) from Table

May 17, 2012 17 comments
Introduction:

Here will explain how to remove duplicate records or rows from a table in SQL server or delete duplicate records from table in sql server.
Description:
In previous articles I explained about substring function in SQL server and Replace function in SQL Server and I explained how to delete duplicate records from datatable in asp.net. Now I will explain how to delete duplicate records from a datatable in SQL server. During work with one application I got requirement like get the unique records from datatable in sql server. Actually our datatable does not contain any primary key column because of that it contains duplicate records that would be like this

Query to Replace part of string in sql server | Replace function example

May 15, 2012 0 comments
Introduction:

In this article I will explain what is the replace function in SQL Server and how to use Replace() function in SQL Server.
Description:
In previous post I explained article substring function in SQL server. Now I will explain what is Replace () function in SQL server and how to use it in our applications. In one application I got requirement like replace particular part of the string with another value to achieve this functionality I realized it’s better to use Replace () function.

how to bind xml data to dropdownlist/gridview in asp.net

May 12, 2012 8 comments
Introduction:

Here I will explain how to read data from xml file and bind xml data to dropdownlist or gridview in asp.net.

Description:

In previous articles I explained articles relating to XML some of those are read xml node values and bind data to gridview and how to insert and read data from xml in asp.net. In situation I got requirement like read data from xml file and display it on webpage. My XML File Name as “Sample.xml” and that would contains data like this

Asp.net- Ajax ConfirmbuttonExtender example with modalpopupextender

9 comments
Introduction:

Here I will explain ajax confirmbuttonextender example with modalpopupextender in gridview using asp.net.

Description:

Previously I explained many articles relating to
Asp.net and Ajax and use customized style of confirmation box to delete gridview records. Now I will explain how to use ajax confirmbuttonextender control in gridview to delete records with modalpopupextender in asp.net. Here I am using same concept (use customized style of confirmation box to delete gridview records) but only change is I am using confirmbuttonextender to implement this concept in asp.net.

Asp.net use link button in gridview example

May 10, 2012 10 comments
Introduction

Here I will explain how to use linkbutton in gridview in asp.net.
Description:

In previous posts I explained many articles relating to Asp.net, JavaScript, Jquery, gridview etc. Now in this post I will explain how to use linkbutton in gridview to delete gridview records in asp.net.

Generally if we want to place any control inside of gridview we need to use asp:TemplateField.
© 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.