Example #1
0
 public static string GlueStrings(string[] strings, string p_sSeparator)
 {
     SeparatedString separatedString = new SeparatedString(p_sSeparator);
     for (int i = 0; i < strings.Length; i++)
         separatedString.Add(strings[i]);
     return separatedString.ToString();
 }
Example #2
0
 public static string GlueRows(DataView p_dv, string p_sColumnName, string p_sSeparator)
 {
     SeparatedString separatedString = new SeparatedString(p_sSeparator);
     foreach (DataRowView drv in p_dv)
         separatedString.Add(drv.Row[p_sColumnName].ToString());
     return separatedString.ToString();
 }
Example #3
0
 public JSFunctionCallBuilder(string p_sFunctionName, bool p_bUseSingleQuote)
 {
     UseSingleQuote = p_bUseSingleQuote;
     functionCall = new SeparatedString(", ", p_sFunctionName + "(");
 }