Are you sure the column in the DataTable actually has data in it? (IOW, are
you sure you retrieved the data correctly frmo the database?)
I suggest setting a breakpoint in your code, just after you retrieve the
data from the database and look at the commtext column in all the rows in
your DataTable, just to be sure.
~~Bonnie
> Why do I get a null column on a field called "commtext" on a datagrid, when
> my database has text in this field? TIA.
Niggy - 23 Aug 2005 14:15 GMT
I'm not sure how to do this. Is it dataset21>commrep>commtext... then what?
> Are you sure the column in the DataTable actually has data in it? (IOW, are
> you sure you retrieved the data correctly frmo the database?)
[quoted text clipped - 7 lines]
> > Why do I get a null column on a field called "commtext" on a datagrid, when
> > my database has text in this field? TIA.
Bonnie Berent [C# MVP] - 23 Aug 2005 17:49 GMT
> I'm not sure how to do this. Is it dataset21>commrep>commtext... then what?
Well, that's a good question ... that doesn't look like either C# or VB.
What language are you using? C++? I don't know it and so I don't know what
the correct syntax would be for that, but once you've set a breakpoint in
your code, you should be able to get some Intellisense going in the Command
window to help you out with the syntax (assuming that you can get a Command
Window when debugging, as you do with C# or VB).
~~Bonnie
~~Bonnie