BDCリストWebパーツをプログラム上でSharepointに追加します。コードを使ってビューを編集したい「これらの基準を満たすレトリーバー項目」のよう とページングを許可する...私は...次のコードを使用して行うには、MSDNのBusinessDataList Web Partコードを使用してビューを編集する
BusinessDataListWebPart consumer = new BusinessDataListWebPart();
consumer.View.AllowPaging = true;
consumer.View.AllowUserQueries = false;
consumer.View.QueryValues = "Project1";
consumer.View.FilterValues = "PRoject1";
を試してみました、それはView.QueryValuesプロパティ(Microsoft.SharePoint.Portal.WebControls)と言いますおよびView.FilterValuesプロパティ(Microsoft.SharePoint.Portal.WebControls) このメンバーは内部使用のために予約されており、コードから直接使用するためのものではありません。
誰でもこの方法を知っていますか?