Hi,
Please try the below code
protected void DDLSelJob_SelectedIndexChanged(object sender, System.EventArgs e)
{
TextBox GradeText = default(TextBox);
GradeText = (TextBox)GridView1.FindControl("txtjob1");
DropDownList txtjob1= (DropDownList)GridView1.FindControl("DDLSelJob");
GradeText.Text = DDLSelJob.SelectedValue;
}
[Edit member="Tadit"]
Added
pre
tags.
[/Edit]