2010年8月13日金曜日

Dictionaryの中身を列挙して渡す

foreach (KeyValuePair pair in dic)
{
ViewData[pair.Key] = pair.Value;
}

0 コメント:

コメントを投稿