473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

To get row index,column index of a sel of selectd cells

I have a datagrid with selected cells.I need to get the row,column index of 1st selected cell..How to get it?

tried current Row.Index,Current.Column.Index..but it gives last selected cell's row and column index....

For eg,if i select 2 rows ,i need to get the 1st row's 1st selected cell...

Anybody has got anyidea???
Apr 20 '07 #1
0 1062

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Rich Morey | last post by:
Hi, I have a table where I am altering the layout via javascript to create colspans. I want to then delete the "Extra" cells created by the colspans. I have named the cells "r1c1", "r1c2",...
2
by: kscdavefl | last post by:
When I run the following code: private void applicationPermissionGrid_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if (e.Item.ItemType ==...
1
by: Paul | last post by:
Is there a way to look up the index for cells in a data grid. I do not like hard coding numbers into my programs (other than 0 or 1) Sub DisplayBoundColumnValues(sender as Object, e as...
1
by: DBLWizard | last post by:
Howdy All, I am wondering if there is a way to find the column index by the header name. What I am trying to get away from is using a hardcoded number in the ItemDataBound event. Something...
1
by: jeguillo | last post by:
I am trying to retrieve the text within each cell in a datagrid in order to change the color of each cell, depending on the value within that cell. This works fine on the cells that are bound...
1
by: samn | last post by:
I wrote the following script in order to traverse an HTML table and merge the cells that have the same value across multiple rows. For some reason, however, it works for the first, third, and...
5
by: Kathy | last post by:
I am trying to set a tooltip for a column cell in a data grid as documented in the MS Visual Studio 2005 documentation. I set up a test to match the example exactly including database column, data...
0
by: rn5a | last post by:
A Form has only a DataGrid control. Using EditCommandColumn in the DataGrid, when a row is in the editable mode i.e. the BoundColumns get replaced by TextBoxes, the Text in the TextBox existing in...
0
by: sumuka | last post by:
Hello , I've created a flexgrid in VB 6.0 im not able get the index of the column. When the user clicks only on 4th column i want the one more form to be opened but this is happening when i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.