Wrox Programmer Forums
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2011, 09:08 AM
Authorized User
 
Join Date: Jan 2011
Posts: 89
Thanks: 1
Thanked 0 Times in 0 Posts
Default Find grid view cell by name

I expect this is a real quick one; I'm using the GridView_RowDeleting event to latch onto a row being deleted with the Delete command in a grid view using:

cell = UsersGridView.Rows(e.RowIndex).Cells(3)

Is there a way to specify the cell column by name instead of index? If I change the grid view data this line of code will always break





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit cell in a Data Grid sathiya Flex 0 May 25th, 2009 01:17 AM
Add window content into Grid cell sektor Windows Presentation Foundation 0 January 14th, 2009 10:17 AM
Help Grid View Drop Down List, view all jskinner123 ASP.NET 2.0 Basics 0 November 25th, 2007 06:25 PM
How to Get Specific Cell Value of Data Grid in C# akumarp2p C# 1 February 1st, 2007 08:17 AM
validation of one cell of a Data Grid to another Ljhopkins ASP.NET 1.0 and 1.1 Basics 1 November 5th, 2005 01:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.