protected void Bindddl_Click(object sender, EventArgs e)
{
int i = 0;
foreach (GridViewRow row in GridView1.Rows)
{
System.Web.UI.WebControls.CheckBox chkRow = (row.Cells[i].FindControl("chkRow") as CheckBox);
if (GridView1.Rows.Count > 0)
{
for (i = 0; i < GridView1.Rows.Count; i++)
{
if (chkRow.Checked)
{
TextBox txtjob1 = (TextBox)GridView1.Rows[i].FindControl("txtjob1");
txtjob1.Text = DDLSelJob.SelectedItem.Text;
}
else
{
}
}
}
i++;
}
}