Click here to Skip to main content
15,919,931 members
Home / Discussions / C#
   

C#

 
Generalone more question - Pin
theStorminMormon18-Aug-05 5:42
theStorminMormon18-Aug-05 5:42 
GeneralRe: one more question - Pin
Mohamad Al Husseiny18-Aug-05 6:09
Mohamad Al Husseiny18-Aug-05 6:09 
GeneralRe: one more question - Pin
Dan Neely18-Aug-05 7:13
Dan Neely18-Aug-05 7:13 
GeneralRe: one more question - Pin
Mohamad Al Husseiny18-Aug-05 7:17
Mohamad Al Husseiny18-Aug-05 7:17 
GeneralRe: one more question - Pin
Dan Neely18-Aug-05 7:33
Dan Neely18-Aug-05 7:33 
GeneralRe: one more question - Pin
Mohamad Al Husseiny18-Aug-05 7:41
Mohamad Al Husseiny18-Aug-05 7:41 
GeneralRe: one more question - Pin
Dan Neely18-Aug-05 8:52
Dan Neely18-Aug-05 8:52 
GeneralRe: trying to access rows in a table Pin
theStorminMormon18-Aug-05 5:39
theStorminMormon18-Aug-05 5:39 
I'll answer my own question now that I figured it out. Just in case anyone else ever wants to know...

Right, so the problem was thinking that the table I created on this line:
ClaimsTable = new DataTable();

was the same as the table created by the data adapter fill method:
da.Fill(ds, "ClaimsTable");

But the two are not the same. To access the table with my data I need something like da.tables[0]... So when I ran the foreach (DataRow row in ClaimsTables.Rows) I was accessing a table that had been created, but that had no rows.

So essentially I had two tables with identical names, but one held data and one did not and I needed to learn how to access the one that DID hold data.

Yay for learning experiences.



The ends can never justify the means. It is the means that determine the ends.
GeneralRe: trying to access rows in a table Pin
Mohamad Al Husseiny18-Aug-05 5:45
Mohamad Al Husseiny18-Aug-05 5:45 
GeneralListBox problem with focus Pin
Blashyrkh#18-Aug-05 4:41
Blashyrkh#18-Aug-05 4:41 
GeneralRe: ListBox problem with focus Pin
Mohamad Al Husseiny18-Aug-05 5:00
Mohamad Al Husseiny18-Aug-05 5:00 
GeneralRe: ListBox problem with focus Pin
Blashyrkh#18-Aug-05 20:40
Blashyrkh#18-Aug-05 20:40 
GeneralRe: ListBox problem with focus Pin
S. Senthil Kumar18-Aug-05 6:51
S. Senthil Kumar18-Aug-05 6:51 
GeneralRe: ListBox problem with focus Pin
Blashyrkh#18-Aug-05 11:42
Blashyrkh#18-Aug-05 11:42 
GeneralRe: ListBox problem with focus Pin
S. Senthil Kumar18-Aug-05 20:25
S. Senthil Kumar18-Aug-05 20:25 
GeneralC# setup like interface design Pin
Member 220551318-Aug-05 4:39
Member 220551318-Aug-05 4:39 
GeneralRe: C# setup like interface design Pin
Mohamad Al Husseiny18-Aug-05 4:52
Mohamad Al Husseiny18-Aug-05 4:52 
GeneralRe: C# setup like interface design Pin
Member 220551318-Aug-05 5:05
Member 220551318-Aug-05 5:05 
GeneralFinding Text in Images Pin
Member 183508318-Aug-05 4:20
Member 183508318-Aug-05 4:20 
GeneralRe: Finding Text in Images Pin
Mohamad Al Husseiny18-Aug-05 4:40
Mohamad Al Husseiny18-Aug-05 4:40 
GeneralRe: Finding Text in Images Pin
Member 183508318-Aug-05 4:43
Member 183508318-Aug-05 4:43 
GeneralSending signed message via CDO Pin
z-1018-Aug-05 2:37
z-1018-Aug-05 2:37 
GeneralCustom dialog with features of standard ones Pin
Mux-Mux18-Aug-05 2:29
Mux-Mux18-Aug-05 2:29 
GeneralRe: Custom dialog with features of standard ones Pin
Mohamad Al Husseiny18-Aug-05 3:06
Mohamad Al Husseiny18-Aug-05 3:06 
GeneralNetwork Connections Pin
Mridang Agarwalla18-Aug-05 1:27
Mridang Agarwalla18-Aug-05 1:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.