c# - Reading a 2 dimensional array or sharePoint list from InfoPath -


i new @ c# , infopath. using sharepoint 2007 , infopath 2007. have infopath form want read values list want read value based on column name and row # in c# code 2 dimensional array or list<>. possible read sharepoint list without writing c# code (workflow) access values in list?

7/25/11: couldn't comment or reply editing original post instead:

@andreas thank idea.

your suggestion not want although doing tutorials msdn recommended. of review me learning new tricks (i.e. certificate signing). anyway, have list in sharepoint per diem rate chart travelers. trying figure out way pick correct rate, based on days of travel , destination zip code. sharepoint list column name rate values $46, $51, $76 , rows breakfast, lunch, dinner incidentals, "first or last day of travel".

if rate = $46 , days of travel > 0 , < 3, (i.e. 2 days total) "first , last day of travel" per diem applies.

my dilema how read value (rate) "first , last day of travel" if column $46. 2 dimensional array or list, right? can read value ip rules or need write custom code read list?

from i've understood, want create connection sharepoint list/library , display it's contents in infopath form in 2 dimensional way => table, right?

if so, 2 links might out.

http://office.microsoft.com/en-us/infopath-help/add-a-data-connection-to-a-sharepoint-document-library-or-list-hp010093160.aspx

http://msdn.microsoft.com/en-us/library/bb267335(v=office.12).aspx


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -