> From: Rudy.Cooper
> Does anyone have or can they direct me to an example that 
> shows how to loop thru a datagrid, pull out the values and 
> update or insert into a uv file using uo.net without using 
> UniSubroutine, preferrable using Unidynarray?


Rudy - it seems to me your solution is fairly simple:
1) Find examples of extracting values from specific columns of
specific grid rows.
2) Find examples of updating a file with a dynarray.

Combine techniques.

As usual, these "how do I do X with MV" questions can usually be
answered simply by not trying to solve the problem as a unit.

For another (non)answer I just recently got tired of the
impedance mismatch between dynarray (or mv.NET mvItem) and
ADO.NET DataTable and DataRows.  So I created extension methods
where I can pass items or collections of items and get a table or
row in response.  A similar process reverses that.  So for
example...

myArray = table.Rows[i].ToDynArray();
DataTable table = myArray.ToDataTable(schemaInfo);
DataRow row = anotherArray.ToDataRow(tableWithSchema);

(For schema I pass in a class that identifies field names and
data types)

HTH

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula R&D sells mv.NET worldwide
and provides related development services
remove.pleaseNebula-RnD.com/blog
Visit PickWiki.com! Contribute!
http://Twitter.com/TonyGravagno

 

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to