Multiple Values for a Parameter and C#
Posted on 2004-03-28
Hi, I have this code that i want to allowcate multiple values to a parameter, but it seems to be only assigning the last value to the parameter.
Heres the Code:
string sTemp = myParam.lstItems[i];
string  split = null;
split = sTemp.Split('~');
foreach (string s in split)
//Get Parameter Values
dcParam.Value = s;
DBG.DBG("Value = [" + dcParam.Value.ToString() + "]");
//Assign Parameter Values
What is suppose to do is split the delimited string into segments,( this is working) then for each segment assigne the Current value to the pfParam variable.
Could anyone help??