V
Vishu
I m getting this error "Mehtod name expected" in my following code.
protected int GetSelectedIndex(string CID)
{
DataTable dt = ddlDataSet.Tables["Jobs"];
for(int iLoop = 0; iLoop <= dt.Rows.Count - 1; iLoop++)
{
if(Int32.Parse(CID) == Int32.Parse(dt.Rows[iLoop]("job_id")))
{
return iLoop;
}
}
}
at dt.Rows[iLoop].
Please help me solving this problem.
Thanks in Advance.
protected int GetSelectedIndex(string CID)
{
DataTable dt = ddlDataSet.Tables["Jobs"];
for(int iLoop = 0; iLoop <= dt.Rows.Count - 1; iLoop++)
{
if(Int32.Parse(CID) == Int32.Parse(dt.Rows[iLoop]("job_id")))
{
return iLoop;
}
}
}
at dt.Rows[iLoop].
Please help me solving this problem.
Thanks in Advance.