Hi
I have the following code:
foreach (DataRow row in dataSetselect.Tables[0].Rows)
{
lb = new Label();
tb = new TextBox();
lb.Text = "<br />" + row["field"].ToString() + " ";
tb.Text = row["field"].ToString();
tb.ID = Guid.NewGuid().ToString();
RequiredFieldValidator reqv = new RequiredFieldValidator();
reqv.ControlToValidate = tb.ID;
&n ...
Go to the complete details ...