foreach (GridViewRow rows in gvRules.Rows) { lbl1.Text + "If" + lbl3.Text + "then Action " + lbl2.Text +; }
string addAll=""; foreach (GridViewRow rows in gvRules.Rows) { addAll += lbl2.Text + "If" + lbl3.Text + "then Action " + lbl2.Text ; } //addAll contains all the appended text which you can display.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)