Author: TacRedline | Posted on: 6/24/2010 1:26:30 PM | Views : 297

I have a string that I'm pulling from an Excel spreadsheet that is x.firstName
When I pull it in it gets converted to x#FirstName
 Fine. So I tried string.replace as shown below and it change my string, any ideas?
 
here's my code:
string

stFormattedColumnName = objDataset1.Tables[0].Columns[i].ToString().ToLower();

//value is x#firstName

stFormattedColumnName.Replace(Go to the complete details ...