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 Attribute Routing in ASP.Net MVC?

1100


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

1086


Is razor a server side?

973


What is viewstart page in mvc?

1014


Explain Keep method in Tempdata in ASP.Net MVC?

1063


What is the difference between adding routes, to a webforms application and to an mvc application?

1016


Do I need microsoft .net framework?

990


What is Area in ASP.Net MVC?

1097


How we can multiple submit buttons in ASP.Net MVC

1146


What are the main components of .net framework?

1035


What is viewdata?

1020


What are Validation Annotations?

1022


what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?

2296


Explain something about model, view and controllers in asp.net mvc?

1028


What is storage model? : Entity framework

1000