Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to bind table coloum with gridview column

Answer Posted / amit

hi,
you use gridview content click event, in this you do like that

if (dgvCustomers.CurrentRow.Index != -1)
{
if (dgvCustomers.CurrentCell.OwningColumn.Name == "eventype")
if (Convert.ToString(dgvCustomers.CurrentCell.Value) ==
"1")
{ msgbox.show("Hello World ..."); }
}
else
{
MessageBox.Show("Hi its amit" );
}

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is orm entity framework?

989


What is mapping in entity framework? : Entity framework

1010


explain how you can load related entities in ef (entity framework)?

1005


What is an asynchronous controller in asp.net mvc?

1067


what is split entity?

1070


Is dapper faster than entity framework?

996


What are the two ways to add constraints to a route?

985


what do you mean by table-per-hierarchy?

1126


How do I install .net framework?

980


How can I tell what .net framework is installed?

987


What is needed for running an application built on winfx on the .net framework 3.0?

974


how to disable the lazy loading framework?

1099


what is entity sql?

1105


What is partialview in asp.net mvc?

1069


what is eager loading?

1031