PLZ SUGGEST ME THE SHORT-CUT OR AN ANY EASY WAY SO THAT I CAN MAKE SUCH CHANGES EASILY IN MY WHOLE PROJECT
this a line of code m giving below:
cmd.Parameters.Add("@LocationID", SqlDbType.NVarChar).Value = GV.Rows[i].Cells[2].Text.Trim();
And I have to change this line as:
cmd.Parameters.Add("@LocationID", SqlDbType.NVarChar).Value =Server.HtmlDecode( GV.Rows[i].Cells[2].Text.Trim());
PLZ SUGGEST ME THE SHORT-CUT OR AN ANY EASY WAY SO THAT I CAN MAKE SUCH CHANGES EASILY IN MY WHOLE PROJECT
Short cut OR easy way to replace code
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Khargesh RajputRank #616 · 3.9K reputationPosted Feb 24, 2015, 12:05 AM EST
GV.Rows[i].Cells[2].Text.Trim();
and press ctrl+F
and Replace all with
Server.HtmlDecode( GV.Rows[i].Cells[2].Text.Trim());