Datagridview Binding
-
Hi, im binding my datagridview to a datasource (List) im then hiding a column, but I need to check that the datasource has bound, how do I do this? thanks
-
Hi, im binding my datagridview to a datasource (List) im then hiding a column, but I need to check that the datasource has bound, how do I do this? thanks
ziwez0 wrote:
I need to check that the datasource has bound, how do I do this?
Why not checking the
DataSource
member ..? If it's notnull
then it's bound to a data source.Moim Hossain R&D Project Manager BlueCielo ECM Solutions BV
-
Hi, im binding my datagridview to a datasource (List) im then hiding a column, but I need to check that the datasource has bound, how do I do this? thanks
Is the column you are hiding the only column in the DataGridView? If it is then, I for one, do not understand what it is that you are trying to do! If it is not, then just run the app. If there's data there the binding worked, if not it might not have.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
Is the column you are hiding the only column in the DataGridView? If it is then, I for one, do not understand what it is that you are trying to do! If it is not, then just run the app. If there's data there the binding worked, if not it might not have.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”