Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2005

Tip: Looking for answers? Try searching our database.

Null Column

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Niggy - 21 Aug 2005 20:42 GMT
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] - 22 Aug 2005 23:31 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.