Question : get row by row in data in datalist

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
 foreach (GridViewRow row in this.grdCart.Rows)
            {
                string str = Convert.ToString((int)this.grdCart.DataKeys[row.RowIndex].Value);
                string text = row.Cells[2].Text;
                string str3 = row.Cells[5].Text.Substring(1);
                string str4 = row.Cells[4].Text;
                string text1 = row.Cells[3].Text;
                string orderid = this.orderid;
                str3 = str3.Replace(",", "");


Look at My code i use this in gridview
to get row by row data

but how i do this if i work with data list control

Answer : get row by row in data in datalist

But don't you obfuscate the exe file?

I'm currently using SmartAssembly (http://www.red-gate.com/products/smartassembly/index.htm) but you have others in the market (some free)

Random Solutions  
 
programming4us programming4us