473,395 Members | 1,343 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,395 software developers and data experts.

datagrid row and tablestyles

hi,

is there any easy way to find out column in datatable bound to datagrid
of the active cell in datagrid? datagrid columns can be shuffled and
hidden (width 0), so something like indexes do not work.

thanks,
Vilius

Nov 15 '05 #1
0 782

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael Schindler | last post by:
I can see my values date and values "S" in the datagrid but if i want save i get the error the cells are null..but i can see. If i chanche the date from 03.03.2003 to manuell 03.03.2003 and...
2
by: michael walser | last post by:
display checkbox in datagrid. I find that there are 3 status: checked - check box with click icon unchecked - blank in check box unknown - click icon but color in gray..... How can I set the...
2
by: CSL | last post by:
I am using the DataGrid in a Windows Application, how can I adjust the widths of each column individually.
3
by: Stan Sainte-Rose | last post by:
Hi, I have a winform with 1 datagrid and several datagridtablesStyles mapping different datatables. Is it possible to select a specific DataGridTableStyle for the datagrid ? Or do I have to...
17
by: Mike Fellows | last post by:
im trying (unsucessfully) to add a checkbox column to my datagrid i basically have a datagrid that im populating from a dataset Me.DataGrid1.DataSource = ds.Tables(0) the datagrid then has 5...
0
by: Jorge | last post by:
Hello All I am trying to preserve the width of column in a datagrid made by the user. On form load i use this <code> Me.DataGrid2.TableStyles("artenc").GridColumnStyles (0).Width = 30...
0
by: Asgorath | last post by:
Hello All I am trying to preserve the width of column in a datagrid on form load i use this <code> Me.DataGrid2.TableStyles("artenc").GridColumnStyles(0).Width = 30...
7
by: Doug Bell | last post by:
Hi, How can I determine the number of columns in a DataGrid? What I am trying to do is to build a function that will resize the last column to fill the remaining space in the DataGrid....
0
by: Bob Davies | last post by:
Hi I have a webservice that retrieves data from a database, this is then returned to the calling client application built in windows forms within a dataset, however upon attempting to create...
6
by: Doug Bell | last post by:
Hi I have a DataGrid with some hidden columns and also some read Only and some ComboBox Columns. Sandard Tabbing through the Datagrid sees the focus go to the hidden columns requiring further...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.