Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 November 16th, 2004, 04:01 PM
Authorized User
 
Join Date: Jun 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Capturing the coordinates of a DataGrid CELL

How can i capture the X (columns) and Y (lines) coordinates of a specific cell (like the FIRST CELL) of only selected lines of a DataGrid. There is a specific method to do it?

There is a loop structure like FOREACH to cover only the selected lines of a DataGrid??

Thanks..
 
Old November 18th, 2004, 05:43 PM
Authorized User
 
Join Date: Nov 2004
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to jkmyoung
Default

?
DataGrid.CurrentCell.ColumnNumber
DataGrid.CurrentCell.RowNumber

or are you going row by row?
check by: IsSelected(int row)






Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid cell events?? Help Kathryn ASP.NET 1.0 and 1.1 Basics 4 January 31st, 2005 10:12 AM
Capturing the content of a DataGrid Cell??? thomaz C# 1 November 12th, 2004 10:21 PM
Capturing Keyup & KeyDown in a Datagrid SupaHoopsa General .NET 3 October 11th, 2004 03:40 PM
DataGrid Cell mrideout BOOK: Beginning ASP.NET 1.0 0 August 17th, 2004 12:34 PM
Read cell in the DataGrid? drasko ASP.NET 1.0 and 1.1 Professional 1 December 18th, 2003 10:43 AM





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