' get value from the control
protected void Button1_Click(object sender, EventArgs e)
{
int x;
string s;
TextBox tb;
for (x = 0; x < ListView1.Items.Count - 1; x++)
{
tb = (TextBox)ListView1.Items[x].FindControl("TextBox1");
s = tb.Text.ToString();
}
}
No comments:
Post a Comment