Monday, 26 August 2013




Description:-

            In this Example we Explain that How to Create Nested Grdview with expand and Collapse Facility in MVC.

What is Nested Gridview :-

            A Gridview Inside Another Gridview is Called a Nested Gridview.this is Generally used when we have to Define a long Information of the any object.

For Example:-

            If we want to Display all Data of the Student then one Gridview can not hold all the Information of the Student.so at that time we can create a part of the Information like Education Information,General Information,Other Information so we can Define all Information of the user by Category wise in Different Gridview like Nested Grid view.

Export Gridview Data to Excelsheet in MVC import/Export data in Excelsheet in mvc4

Display Footer and Grand total in webgrid in MVC MVC4 webgrid with Footer Template

Upload multiple Files with Progressbar upload multiple file at a time with progressbar


Bind country and state in DropdownList in MVC bind dropdownList in MVC4

To DownLoad the Complete Project Click the Below Download Image Link
download here!

How to Create Nested Gridview with Expand Collapse in MVC4.




Description:-

            In this Example we Explain that How to Create Nested Grdview with expand and Collapse Facility in MVC.

What is Nested Gridview :-

            A Gridview Inside Another Gridview is Called a Nested Gridview.this is Generally used when we have to Define a long Information of the any object.

For Example:-

            If we want to Display all Data of the Student then one Gridview can not hold all the Information of the Student.so at that time we can create a part of the Information like Education Information,General Information,Other Information so we can Define all Information of the user by Category wise in Different Gridview like Nested Grid view.

Export Gridview Data to Excelsheet in MVC import/Export data in Excelsheet in mvc4

Display Footer and Grand total in webgrid in MVC MVC4 webgrid with Footer Template

Upload multiple Files with Progressbar upload multiple file at a time with progressbar


Bind country and state in DropdownList in MVC bind dropdownList in MVC4

To DownLoad the Complete Project Click the Below Download Image Link
download here!
This entry was posted in :

Sunday, 25 August 2013





Description:-

                        In this Example we Explain that How to Convert List to Datatable in C# or asp.Net.now we First understand What is the List and DataTable in Asp.Net.

What is List in C# Asp.Net:-

            List is a one kind of Generic class provided by .Net is used for store Data in List Format for Category wise like only number,only string etc…

Through List we can Easily handle GropBy,Join or Add or Remove Item sorting Item or many other Operation.

What is DataTable in Asp.Net:-

            DataTable is one kind of Building Class Provided by Ado.Net and are used to store Table or Create a Datarow or DataColoumn at runtime and add to the DataTable.we can Easily add or Remove Datarow in Datatable.

Now we Expalin How to Convert List to Datatable in Asp.Net:

Here is a Code for Convert List to DataTable but before use this code you have to add the following Namespace like

using System.ComponentModel;

List<Employee> lstEmployee and want to convert in datatable then simply call this way.
Here List<Employee> is an one kind of List that I want to Convert in Datatable and lstEmployee is an object of the List<Employee> type


Implement Remember Me functionality using CheckBox ASP.Net 

set WaterMark Text in PDF using itextsharp in C#

How to set Default Button in MVC Web Form Application 

How to Bind XML File data to Treeview in asp.net

JQuery datepicker calender with Dropdown month and year in asp.net. 


How to Convert Generic List to Datatable in C# Asp.Net





Description:-

                        In this Example we Explain that How to Convert List to Datatable in C# or asp.Net.now we First understand What is the List and DataTable in Asp.Net.

What is List in C# Asp.Net:-

            List is a one kind of Generic class provided by .Net is used for store Data in List Format for Category wise like only number,only string etc…

Through List we can Easily handle GropBy,Join or Add or Remove Item sorting Item or many other Operation.

What is DataTable in Asp.Net:-

            DataTable is one kind of Building Class Provided by Ado.Net and are used to store Table or Create a Datarow or DataColoumn at runtime and add to the DataTable.we can Easily add or Remove Datarow in Datatable.

Now we Expalin How to Convert List to Datatable in Asp.Net:

Here is a Code for Convert List to DataTable but before use this code you have to add the following Namespace like

using System.ComponentModel;

List<Employee> lstEmployee and want to convert in datatable then simply call this way.
Here List<Employee> is an one kind of List that I want to Convert in Datatable and lstEmployee is an object of the List<Employee> type


Implement Remember Me functionality using CheckBox ASP.Net 

set WaterMark Text in PDF using itextsharp in C#

How to set Default Button in MVC Web Form Application 

How to Bind XML File data to Treeview in asp.net

JQuery datepicker calender with Dropdown month and year in asp.net. 






Description:-

            In this Example we explain that How to Create Crud(create,Read,update,Delete) operation in Modal Popup in Mvc4 Application. Previous time we Explain a lot of example of Mvc now we Create a DML operation in Gridview using Modal popup in MVC Application.

First you have to create a Table name like customer as following structure:


 Here is Some Image or Scrren shot of this Application at runtime are as follows:-

1. Validation Screen Shot:-


Create Operation,Update,Delete operation:-





In this Example we use Jquery For Creating a Insert upadate Delete Operation in Modal Popup.and we Create a Three Modal popup for Create and Edit,Upade, Delete. When user Create an Create link the new Popup windows is Appear with Creating a Form Design of Craete record same Process for the Edit Update and Delete Operation.




To Download The Complete Project Click the below Download Image Link
download here!

Modal Popup Example for insert Upadate Delete in popup in MVC4





Description:-

            In this Example we explain that How to Create Crud(create,Read,update,Delete) operation in Modal Popup in Mvc4 Application. Previous time we Explain a lot of example of Mvc now we Create a DML operation in Gridview using Modal popup in MVC Application.

First you have to create a Table name like customer as following structure:


 Here is Some Image or Scrren shot of this Application at runtime are as follows:-

1. Validation Screen Shot:-


Create Operation,Update,Delete operation:-





In this Example we use Jquery For Creating a Insert upadate Delete Operation in Modal Popup.and we Create a Three Modal popup for Create and Edit,Upade, Delete. When user Create an Create link the new Popup windows is Appear with Creating a Form Design of Craete record same Process for the Edit Update and Delete Operation.




To Download The Complete Project Click the below Download Image Link
download here!
This entry was posted in :

Monday, 12 August 2013






Description:-

            In this Example we Explain that How to Create a Paging in Gridview. We also provide Paging Facility with Insert,upadte,Delete operation in Gridview.

What is Paging:-

            Paging means there are number of pages in which every page contain a bunch of record to Navigate the Record.

For example:-

            If you have a thousand of Record and you want to Display in Gridview at that time our screen can not capable of Display all record properly so at that time we can partition this all record in Different pages with a Bunch of Record using Paging Facility Provided by Gridview in Asp.Net so we can easily Handle and Display it.

there are many types of paging mode styles are available in gridview control for paging those are 

  1.         Numeric
  2.         NextPrevious 
  3.         NextPreviousFirstLast 
  4.        NumericFirstLast

Before use  these options in our Gridview control we first need to set AllowPaging="true" and PageSize="5" Properties here pageSize you can change based on your requirement after set these properties we can use different types of pagersetting modes to show different type of paging for gridview control.


NumericFirstLast: By using this mode in gridview paging will Display First and Last buttons. 
   
  
Numeric: By default Gridview  will set this numeric paging once we set AllowPaging and PageSize properties in gridview control. to set this property to our gridview we have to set the  pagersetting property like this

<PagerSettings Mode="Numeric" PageButtonCount="4" />

NextPrevious:  by using this mode the paging in gridview will display Next and Previous Buttons. To set this mode we need to change the PagerSettings mode like this

<PagerSettings Mode="NextPrevious" PageButtonCount="4" PreviousPageText="Previous" NextPageText="Next" /> 

NextPreviousFirstLast: :  by using this mode the paging in gridview will display Next and Previous  Buttons and First and Last Buttons. To set this mode we need to change the PagerSettings mode like this

<PagerSettings Mode="NextPreviousFirstLast" PageButtonCount="4" PreviousPageText="Previous" NextPageText="Next" FirstPageText="First" LastPageText="Last" />


To Craete this First you have to Create a PageIndexChanging Event of Gridview like as follows:

onpageindexchanging="GridView1_PageIndexChanging"

and Define the Code inside this Event like

protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
    {
        GridView1.PageIndex = e.NewPageIndex;
        grid();
    }

to show Example of Paging in MVC Paging and Sorting in MVC

to show Example of Paging in DataList Paging or Custom Paging in DataList

To Show Example of Create Paging in Reapeter Control plz Click Here Paging in Reapeter Control

Paging in Gridview with Numeric, NextPrevious, NextPreviousFirstLast, NumericFirstLast in Asp.Net






Description:-

            In this Example we Explain that How to Create a Paging in Gridview. We also provide Paging Facility with Insert,upadte,Delete operation in Gridview.

What is Paging:-

            Paging means there are number of pages in which every page contain a bunch of record to Navigate the Record.

For example:-

            If you have a thousand of Record and you want to Display in Gridview at that time our screen can not capable of Display all record properly so at that time we can partition this all record in Different pages with a Bunch of Record using Paging Facility Provided by Gridview in Asp.Net so we can easily Handle and Display it.

there are many types of paging mode styles are available in gridview control for paging those are 

  1.         Numeric
  2.         NextPrevious 
  3.         NextPreviousFirstLast 
  4.        NumericFirstLast

Before use  these options in our Gridview control we first need to set AllowPaging="true" and PageSize="5" Properties here pageSize you can change based on your requirement after set these properties we can use different types of pagersetting modes to show different type of paging for gridview control.


NumericFirstLast: By using this mode in gridview paging will Display First and Last buttons. 
   
  
Numeric: By default Gridview  will set this numeric paging once we set AllowPaging and PageSize properties in gridview control. to set this property to our gridview we have to set the  pagersetting property like this

<PagerSettings Mode="Numeric" PageButtonCount="4" />

NextPrevious:  by using this mode the paging in gridview will display Next and Previous Buttons. To set this mode we need to change the PagerSettings mode like this

<PagerSettings Mode="NextPrevious" PageButtonCount="4" PreviousPageText="Previous" NextPageText="Next" /> 

NextPreviousFirstLast: :  by using this mode the paging in gridview will display Next and Previous  Buttons and First and Last Buttons. To set this mode we need to change the PagerSettings mode like this

<PagerSettings Mode="NextPreviousFirstLast" PageButtonCount="4" PreviousPageText="Previous" NextPageText="Next" FirstPageText="First" LastPageText="Last" />


To Craete this First you have to Create a PageIndexChanging Event of Gridview like as follows:

onpageindexchanging="GridView1_PageIndexChanging"

and Define the Code inside this Event like

protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
    {
        GridView1.PageIndex = e.NewPageIndex;
        grid();
    }

to show Example of Paging in MVC Paging and Sorting in MVC

to show Example of Paging in DataList Paging or Custom Paging in DataList

To Show Example of Create Paging in Reapeter Control plz Click Here Paging in Reapeter Control

Saturday, 10 August 2013





Description:-

            In this Example we explain that How to Send Mail to Multiple User at a time Based on CheckBox selection in Gridview in Asp.Net.

In previous Example we Explain only send Mail to one user at a time but in this we provide Facility to Sending Email to Our Friend by using our Application not Required Gmail you can Send Email From Your Application Easily.

In which we provide Checkbox in Each row of Gridview to select the user that you want to Send Email.we also provide Header CheckBox to select All User Just Click on the Header CheckBox.
Here is Code for sending mail to multiple user

string emailId = dt.Rows[0]["emailid"].ToString();
                        //write code to send mail
                        SendEmailUsingGmail(emailId);

We Fetch all Email Id From Database that you have to select From Gridview and send it to the SendEmailUsingGmail() Function like

private void SendEmailUsingGmail(string toEmailAddress)
    {
        try
        {
            SmtpClient smtp = new SmtpClient();
            smtp.Credentials = new NetworkCredential("yougmail@gmail.com", "your gmailpassword");
            smtp.Port = 587;
            smtp.Host = "smtp.gmail.com";
            smtp.EnableSsl = true;
            MailMessage message = new MailMessage();
            message.From = new MailAddress("kiritkapupara24@gmail.com");
            message.To.Add(toEmailAddress);
            message.Subject = "I am Sending this Mail From My application";
            message.Body = "so Enjoyed it self.";
            smtp.Send(message);         
        }
        catch(Exception ex)
        {
            Response.Write("Error occured: " + ex.Message.ToString());
        }
    }

This Function will send the mail that you have select From Gridview one by one.

Here is the Output of this Progarm are as Follow:




To send SMS in Asp.Net to any User then click Here Send SMS or message in Asp.net

To Send Email in Asp.Net click Here Send Email to Other user in ASP.net

 To send Email with Attechment File click Here Send Email with Atteched File in Asp.Net

To Import Gmail Contact in Asp.Net click here Import contact from Gmail in asp.net

To send Email to Multiple User at a time based on checkbox selection click here Send Email to Multiple User in Asp.net

To Send Forgot to an Email in Asp.Net click here Send Forgot Password to user's Email

How to Send Email to Multiple User Based on CheckBox Selection in Gridview using Asp.Net





Description:-

            In this Example we explain that How to Send Mail to Multiple User at a time Based on CheckBox selection in Gridview in Asp.Net.

In previous Example we Explain only send Mail to one user at a time but in this we provide Facility to Sending Email to Our Friend by using our Application not Required Gmail you can Send Email From Your Application Easily.

In which we provide Checkbox in Each row of Gridview to select the user that you want to Send Email.we also provide Header CheckBox to select All User Just Click on the Header CheckBox.
Here is Code for sending mail to multiple user

string emailId = dt.Rows[0]["emailid"].ToString();
                        //write code to send mail
                        SendEmailUsingGmail(emailId);

We Fetch all Email Id From Database that you have to select From Gridview and send it to the SendEmailUsingGmail() Function like

private void SendEmailUsingGmail(string toEmailAddress)
    {
        try
        {
            SmtpClient smtp = new SmtpClient();
            smtp.Credentials = new NetworkCredential("yougmail@gmail.com", "your gmailpassword");
            smtp.Port = 587;
            smtp.Host = "smtp.gmail.com";
            smtp.EnableSsl = true;
            MailMessage message = new MailMessage();
            message.From = new MailAddress("kiritkapupara24@gmail.com");
            message.To.Add(toEmailAddress);
            message.Subject = "I am Sending this Mail From My application";
            message.Body = "so Enjoyed it self.";
            smtp.Send(message);         
        }
        catch(Exception ex)
        {
            Response.Write("Error occured: " + ex.Message.ToString());
        }
    }

This Function will send the mail that you have select From Gridview one by one.

Here is the Output of this Progarm are as Follow:




To send SMS in Asp.Net to any User then click Here Send SMS or message in Asp.net

To Send Email in Asp.Net click Here Send Email to Other user in ASP.net

 To send Email with Attechment File click Here Send Email with Atteched File in Asp.Net

To Import Gmail Contact in Asp.Net click here Import contact from Gmail in asp.net

To send Email to Multiple User at a time based on checkbox selection click here Send Email to Multiple User in Asp.net

To Send Forgot to an Email in Asp.Net click here Send Forgot Password to user's Email

Friday, 9 August 2013




Description:-

       

In This Example we explain that how to create a nice looking Popup or Fancy Sign-up and Login Pop-up Boxes with  nicely faded background using  Jquery.

The main Advantages of this Fancy Popup Boxes is that all Browser support this type of functionality so you did not worry about installation or configuration of the server.


In which when user Click on Login then Dropdown For Login is Appered below the Dropdown of Login.

This is the one kind of Designing Facility provide by every website Today.so we can create our Application more and more Attractive.

Here we Define a CSS for Creating a Design of the Dropdown of the Login popup andwe use the Jquery to provide Dropdown popup Functionlity of Login and Signup to the User.

to show Example of Insert,Update,Delete in Modalpopup click here CRUD operation in ModalPopup

to show Example of Send SMS to user click here Send SMS to user

to show Example of How to Rotate the Ads without refreshing the page Rotate the Advertisement in asp.net

How to Create popup for Login and Signup using JQuery in Asp.Net




Description:-

       

In This Example we explain that how to create a nice looking Popup or Fancy Sign-up and Login Pop-up Boxes with  nicely faded background using  Jquery.

The main Advantages of this Fancy Popup Boxes is that all Browser support this type of functionality so you did not worry about installation or configuration of the server.


In which when user Click on Login then Dropdown For Login is Appered below the Dropdown of Login.

This is the one kind of Designing Facility provide by every website Today.so we can create our Application more and more Attractive.

Here we Define a CSS for Creating a Design of the Dropdown of the Login popup andwe use the Jquery to provide Dropdown popup Functionlity of Login and Signup to the User.

to show Example of Insert,Update,Delete in Modalpopup click here CRUD operation in ModalPopup

to show Example of Send SMS to user click here Send SMS to user

to show Example of How to Rotate the Ads without refreshing the page Rotate the Advertisement in asp.net

This entry was posted in :



Description:-

Earlier this section we already Explain How to Create Paging in Gridview. Now I recently had to use the Repeater control with large Number of data, and the only way to do this properly is to page through the data. Repeater Control does not provide Paging Facility Directally same like gridview. So to overcome this problem we use  a scenario where you can use the PagedDataSource class. This class encapsulates the paging related properties of a data-bound control. 

This is very Useful program like when you have large amount of Data you have Display in Repeater Control at that time You can put the thousand of Record in repeater control using Paging Facility in Repeater.

Paging means bunch of Record that we will display in one Pageview with Given Next and Previous Link.

There is a code that Demostrate How to Create Custom Paging in Repeater Control in Asp.Net

PagedDataSource pgitems = new PagedDataSource();
        DataView dv = new DataView(dt);
        pgitems.DataSource = dv;
        pgitems.AllowPaging = true;
        pgitems.PageSize = 2;
        pgitems.CurrentPageIndex = PageNumber;
        if (pgitems.PageCount > 1)
        {
            rptPaging.Visible = true;
            ArrayList pages = new ArrayList();
            for (int i = 0; i < pgitems.PageCount; i++)
                pages.Add((i + 1).ToString());
            rptPaging.DataSource = pages;
            rptPaging.DataBind();
        }
        else
        {
            rptPaging.Visible = false;
        }
            RepDetails.DataSource = pgitems;
            RepDetails.DataBind();  

The PagedDataSource is a class that  you can easily use for create custom paging. And using this with LINQ’s Take and Skip methods is a great way to create paging that is highly efficient.

You Have to First Create a Table in database with name is comment.


to Show Example of For Insert,Update,Delete in Reapeter so please Click Here Insert update delete operation in Reapeter in Asp.Net

To Show Example of Create Paging in Gridview Click Here Paging in Gridview

How to Create Paging or Custom Paging in Repeater Control in Asp.Net




Description:-

Earlier this section we already Explain How to Create Paging in Gridview. Now I recently had to use the Repeater control with large Number of data, and the only way to do this properly is to page through the data. Repeater Control does not provide Paging Facility Directally same like gridview. So to overcome this problem we use  a scenario where you can use the PagedDataSource class. This class encapsulates the paging related properties of a data-bound control. 

This is very Useful program like when you have large amount of Data you have Display in Repeater Control at that time You can put the thousand of Record in repeater control using Paging Facility in Repeater.

Paging means bunch of Record that we will display in one Pageview with Given Next and Previous Link.

There is a code that Demostrate How to Create Custom Paging in Repeater Control in Asp.Net

PagedDataSource pgitems = new PagedDataSource();
        DataView dv = new DataView(dt);
        pgitems.DataSource = dv;
        pgitems.AllowPaging = true;
        pgitems.PageSize = 2;
        pgitems.CurrentPageIndex = PageNumber;
        if (pgitems.PageCount > 1)
        {
            rptPaging.Visible = true;
            ArrayList pages = new ArrayList();
            for (int i = 0; i < pgitems.PageCount; i++)
                pages.Add((i + 1).ToString());
            rptPaging.DataSource = pages;
            rptPaging.DataBind();
        }
        else
        {
            rptPaging.Visible = false;
        }
            RepDetails.DataSource = pgitems;
            RepDetails.DataBind();  

The PagedDataSource is a class that  you can easily use for create custom paging. And using this with LINQ’s Take and Skip methods is a great way to create paging that is highly efficient.

You Have to First Create a Table in database with name is comment.


to Show Example of For Insert,Update,Delete in Reapeter so please Click Here Insert update delete operation in Reapeter in Asp.Net

To Show Example of Create Paging in Gridview Click Here Paging in Gridview







Description:-

            In this Example we explain that How to create CRUD operation in Repeater Control or How to Insert Update Delete in Repeater in Asp.Net.

Repeater Control are best Control because you can easily  create Tables,Unordered lists, Ordered lists, anchor tags, database based menus, Image galleries etc. using repeater control.

Repeater Control are used to Bind data which are Repeated more time.in this Example we Create Examle of Like and Comment same like in Social Website.in which you can easily insert update and delete the comment.



There are Five Types of Templates of Reapeter Control are as Described below

ItemTemplate: ItemTemplate are used to  defines each item is rendered from data source collection.

AlternatingItemTemplate: AlternatingItemTemplates are used to change the background color and css-styles of AlternatingItems in DataSource collection

HeaderTemplate: HeaderTemplate are used to display Header text or Header Image for DataSource collection and apply different styles for header text .

FooterTemplate: FooterTemplate are used to display footer Template for element for DataSource collection

SeparatorTemplate: SeparatorTemplate are used to  separator each element which separates each Item in Item collection. Usually, SeparateTemplate will be <br> html element or <hr> html element.


In this we Create ItemCommand of Repeater same as RowCommand in in Gridview.like as follows:

<asp:Repeater ID="RepDetails" runat="server" onitemcommand="rept_ItemCommand">

in which ItemCommand we Handle Edit and Delete Command of Repeater and we pass the Command Argument in Edit Delete Event click.

First you have to create the following Table 



to Show Example Of How to Create Paging or Custom Paging in Reapeter so plz click Here Paging or Custom Paging in Reapeter Control

to Show Example of How to Create Insert,Update,Delete in Gridview plz Click Here CRUD operation in GridView

How to Bind, Insert, Update, Delete in Repeater Control in Asp.Net.







Description:-

            In this Example we explain that How to create CRUD operation in Repeater Control or How to Insert Update Delete in Repeater in Asp.Net.

Repeater Control are best Control because you can easily  create Tables,Unordered lists, Ordered lists, anchor tags, database based menus, Image galleries etc. using repeater control.

Repeater Control are used to Bind data which are Repeated more time.in this Example we Create Examle of Like and Comment same like in Social Website.in which you can easily insert update and delete the comment.



There are Five Types of Templates of Reapeter Control are as Described below

ItemTemplate: ItemTemplate are used to  defines each item is rendered from data source collection.

AlternatingItemTemplate: AlternatingItemTemplates are used to change the background color and css-styles of AlternatingItems in DataSource collection

HeaderTemplate: HeaderTemplate are used to display Header text or Header Image for DataSource collection and apply different styles for header text .

FooterTemplate: FooterTemplate are used to display footer Template for element for DataSource collection

SeparatorTemplate: SeparatorTemplate are used to  separator each element which separates each Item in Item collection. Usually, SeparateTemplate will be <br> html element or <hr> html element.


In this we Create ItemCommand of Repeater same as RowCommand in in Gridview.like as follows:

<asp:Repeater ID="RepDetails" runat="server" onitemcommand="rept_ItemCommand">

in which ItemCommand we Handle Edit and Delete Command of Repeater and we pass the Command Argument in Edit Delete Event click.

First you have to create the following Table 



to Show Example Of How to Create Paging or Custom Paging in Reapeter so plz click Here Paging or Custom Paging in Reapeter Control

to Show Example of How to Create Insert,Update,Delete in Gridview plz Click Here CRUD operation in GridView






Description:-

            In this Example we Explain that How to Create Repeater Control or Example of Repeater Control in Asp.Net.

Repeater Control are used to Bind the data that are Repeated.that is same like Gridview but Repeater are used when data is Repeated same and Gridview are used when Data is Displayed in Table Format.

Repeater Control Defines the number of Templater are as follow:

·         ItemTemplate

Are used to Define the item which is rendered from data source collection.


·         AlternatingItemTemplate

Are used to Change the Style of the Repeater Control like Background color etc…

·         HeaderTemplate
Are used to Display the Coloum Name as an Header.

·         FooterTemplate
Are used to Display the Coloum as an Footer of the Reapeter Control.

·         SeparatorTemplate

Are used to Separte the Each item in a Repeater Control.the separte element are <br> and <hr> html element.

First you have to Create the Following Table with name comment



ModalPopup Example For Insert,Update,Delete in Popup CRUD Operation in ModalPopup

Export Gidview Data to PDF File Transfer Gridview Rows to PDF File

Sorting Data in Gridview Sorting in Gridview based on Coloumn name

Example of Repeater Control in Asp.Net







Description:-

            In this Example we Explain that How to Create Repeater Control or Example of Repeater Control in Asp.Net.

Repeater Control are used to Bind the data that are Repeated.that is same like Gridview but Repeater are used when data is Repeated same and Gridview are used when Data is Displayed in Table Format.

Repeater Control Defines the number of Templater are as follow:

·         ItemTemplate

Are used to Define the item which is rendered from data source collection.


·         AlternatingItemTemplate

Are used to Change the Style of the Repeater Control like Background color etc…

·         HeaderTemplate
Are used to Display the Coloum Name as an Header.

·         FooterTemplate
Are used to Display the Coloum as an Footer of the Reapeter Control.

·         SeparatorTemplate

Are used to Separte the Each item in a Repeater Control.the separte element are <br> and <hr> html element.

First you have to Create the Following Table with name comment



ModalPopup Example For Insert,Update,Delete in Popup CRUD Operation in ModalPopup

Export Gidview Data to PDF File Transfer Gridview Rows to PDF File

Sorting Data in Gridview Sorting in Gridview based on Coloumn name