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 the 'page life cycle' of an ASP.NET MVC?

1106


What is a razor file?

1032


What is RouteConfig.cs in ASP.Net MVC 4?

1118


What is basic authentication in web api?

1115


Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?

1045


How do I use partial view?

1031


What is clr? How does work clr & wht is work of clr?

1095


Explain the request flow in asp.net mvc framework?

1066


What is the domain object?

1052


How to Create an Intranet Site Using ASP.NET MVC?

1154


What are action filters?

1080


Does windows 10 need .net framework?

1065


What is meant by domain model?

1108


My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?

1053


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

1050