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 45 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 24 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

26 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

10 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 

Query to delete duplicate records or rows in sql server

May 17, 2012 17 comments
Introduction:

In this article I will explain how to delete or remove duplicate records or rows from a datatable 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 6 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

8 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 11 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.

Asp.net Read xml node values and bind data to gridview

May 8, 2012 7 comments
Introduction:

Here I will explain how to read node values from XML document using asp.net.

Description:

In previous article I explained how to insert and read data from xml in asp.net. During working with XML I got requirement like read child node values from xml file and display it on webpage. My XML File Name as “SampleXML.xml” and that would be like this

Add twitter login authentication to website in asp.net

May 7, 2012 87 comments
Introduction

In this article I will explain how to create app in twitter and implement twitter login authentication for website in asp.net.
Description:
  
In previous post I explained article how to integrate facebook login authentication for website in asp.net. Now I will explain how to allow users to login with twitter accounts in website using asp.net.

Before implement twitter login authentication we need to get consumerKey and consumerSecret key from twitter for that we need to create application in twitter by using this link https://dev.twitter.com/apps/new  once open that will display window like this

Change/Set date format in jquery ui datepicker using asp.net

May 3, 2012 7 comments
Introduction: 

In this article I will explain how to set or change date format in JQuery calendar control like dd/mm/yy or mm/dd/yy or DD/MM/YYYY etc. using asp.net.
Description:
  
In previous post I explained many articles relating to
JQuery Datepicker in asp.net. Now I will explain how to change date format in JQuery calendar control like dd/mm/yy or mm/dd/yy or etc based on our requirement.

Asp.net set watermark text for password textbox in JavaScript

May 2, 2012 8 comments
Introduction

In this article I will explain how to set watermark text for password textbox using JavaScript in asp.net.

Description:

In previous article I explained how to set watermark text for textbox using JavaScript. In one situation I got requirement like implement watermark text for password textbox which contains TextMode=”Password”. After did some research I realized that we don’t have a chance to implement watermark text for password textbox because it won’t support in all the browsers. 

Ajax updatepanel example with triggers in asp.net

May 1, 2012 30 comments
Introduction:

In this article I will explain what is Ajax updatepanel control, advantages of updatepanel control and how to use multiple updatepanels in asp.net.

Description:

Previously I explained many articles relating to 
Ajax. Now I will explain what is ajax updatepanel control and use of ajax updatepanel control in asp.net.

During work with our applications if we entered any values in textbox controls and click on a button in form we will see full postback of our page and we will lost all the controls values whatever we entered previously this happend because of postback. If we want to avoid this full postback of page and round trip to server we need to write much code instead of writing much code we can use ajax updatepanel control.

Other Related Posts

© 2010-2012 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.