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

how do you mark a property as required? For example, for a project, the name is a required field.

1013


what is eager loading?

971


What is definingquery in entity framework? : Entity framework

941


What symbol would you use to denote, the start of a code block in razor views?

928


What is poco proxy? : Entity framework

1018


Can you explain the page life cycle of mvc?

950


What is representational state transfer (rest) mean?

940


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

973


Explain two instances where routing is not implemented or required?

1006


How we can handle the exception at controller level in ASP.Net MVC?

1045


Is it possible to cancel filter execution?

969


what is entity framework advantage?

1039


How we can add the CSS in ASP.Net MVC?

981


Which are the important namespaces used in mvc?

1139


Can I add asp.net mvc testcases in visual studio express?

1045