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 you mean by routing in asp.net mvc?

1003


What are the 2 ways of adding constraints to a route?

939


Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).

2231


Explain tempdata in mvc?

935


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

2509


what is entity framework advantage?

1026


How to enable Attribute Routing?

1060


what is code first approach?

1059


What is entity framework? : Entity framework

987


What is web api‘s in asp.net mvc 4 ?

1049


Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?

937


What are the 2 popular asp.net mvc view engines?

970


What is the use .Glimpse in ASP.Net MVC

986


Which version of .net framework is installed?

893


what is lazy loading in entity framework?

1025