M
MacKenzie Mickelsen
I am trying to get the status from a project that is in Project Server. I
have opened the project with MS Project 2007 and set the status date. I try
and read the status date by looping through ProjectRow rows collection of the
Project table. Right now I get the value by doing the following
if (project["PROJ_INFO_STATUS_DATE"] is DBNull )
{
info.StatusDate = DateTime.Today;
}
else
{
info.StatusDate = Convert.ToDateTime
(project.PROJ_INFO_STATUS_DATE);
}
However the value of that property/datarow column is always DBNull even
though I know I have set the Status Date and have verified the change. Does
anyone know why I am always getting DBNull? is this the proper method to try
and get at the Status Date? Any help would be greatly appreciated
have opened the project with MS Project 2007 and set the status date. I try
and read the status date by looping through ProjectRow rows collection of the
Project table. Right now I get the value by doing the following
if (project["PROJ_INFO_STATUS_DATE"] is DBNull )
{
info.StatusDate = DateTime.Today;
}
else
{
info.StatusDate = Convert.ToDateTime
(project.PROJ_INFO_STATUS_DATE);
}
However the value of that property/datarow column is always DBNull even
though I know I have set the Status Date and have verified the change. Does
anyone know why I am always getting DBNull? is this the proper method to try
and get at the Status Date? Any help would be greatly appreciated