Hello
Inside my "EditItemTemplate" into my ListView i have facing a problem as first the c# give me a red line under the ddl name and with message {The name 'EditjobcountDDL' does not exist in the current context} so i decide to use FindControl and there are no
more red lines under ddl name. BUT now i am facing the below error message when i running the application next to line: [Coadaptar.Fill(EditJobcountrDT);] so how i can fix that and what is my mistake
Object reference not set to an instance of an object.
if (!IsPostBack)
{
DataTable EditJobcountrDT = new DataTable();
DropDownList EditjobcountDDL = (DropDownList)FindControl("EditjobcountDDL");
using (SqlConnection con2 = new SqlConnection(ConfigurationManager.ConnectionStrings["BeravaConnectionString"].Con ...
Go to the complete details ...