문제

I need two seperate lists, which every item is Integer, String, Bitmap - and one which every item is Integer, String String. However I don't know how to do this, or even where to look - I've googled for custom objects and custom object lists. What I'm trying to do is this. Custom Object1 is Integer, String, Bitmap Custom Object2 is Integer, String, String

In one thread I'll be adding items to List1(Of Object1), and processing them, and adding the results to List2(Of Object2), however I need to be able from other threads to look at the list and say only give me the items where Integer = (my thread ID), is this possible? Any help, or even links to information that would be relevant to this request would be helpful?

도움이 되었습니까?

해결책

아직 템플릿을 보지 못했지만 반복 테이블을위한 한 가지 방법은 이중 eval 트릭을 사용하는 것입니다 http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx .이를 통해 모든 것을 연결하고 원하는 것에 따라 홍보 할 수 있습니다.

다른 팁

우리의 유일한 옵션은 고객 맞춤 양식을 상속하는 사용자 정의 양식에 대한 기본 클래스를 만드는 것이 었습니다.그럼 우리 페이지 오류 이벤트를 오버로드하고 서비스 호출에서 오류를 다시 받으면 단순히 페이지를 다시 리디렉션하고 쿼리 문자열에 errormessage를 추가합니다.

errorMessage가있는 경우 페이지가로드되면 문자열을 레이블에 넣습니다. 나는 모든 사용자 정의 CRUD 페이지에 추가되었습니다.우아하지는 않지만 작동합니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top