Message
From
04/10/2006 18:16:41
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
 
To
Todo
General information
Fórum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Título:
Setting Entity Row
Environment versions
Database:
MS SQL Server
Miscellaneous
ID da thread:
01159544
ID da mensagem:
01159544
Views:
55
I am trying to step through a Business Object's Data Table. I have been trying to use the Entity.SetDataRow() method, but it isn't changing the data for the entity.

I'm using
oInvoice.Entity.SetDataRow(oInvoice.DataSet.Tables[0].Rows[InvoiceRow]);

After this line executes, the Entity is not changing (checking oInvoice.Entity.BalanceDue and comparing the fields of the Rows[] they are different). I can't use a foreach in this instance.

I'm sure I'm doing something wrong (not the first time - ask Kevin). I'm open to suggestions on how I should be moving through the data.

Thanks,
Jeff
Next
Responder
Mapa
View