Hi,
This error occurs when the datatable is not referenced.
In your code, the error occurred because the datatable CDT is null and you tried to read it.
Session["CID"] = CDT.Rows[0]["CID"].ToString();
To fix this error.
CDT = Cadapter.SELECT_SEARCH_COMPANY(Session["JOBCATE"].ToString(),Session["QUALI"].ToString(), Session["skill"].ToString());
if(CDT != null)
{
if(CDT.Rows.Count > 0)
{
Session["CID"] = CDT.Rows[0]["CID"].ToString();
}
else
{
}
}