Why the heck can't I do this in C#???
strIDVals = "IN (" + this.Label4.Text.Substring
(strIDHead
er.Length,
this.Label4.Text.Length) + ")";
strIDHeader.Length =34
this.Label4.Text.Length = 41
I keep getting "Index and length must refer to a location within the string. Parameter name: length"
It only works when I use real numbers instead of string.Length...
Help!
Start Free Trial