L
linsen
Hi,
I want to create a mpp file in ms project using c#. For this purpose, i
created 2 tables "project" and "tasks". Project has the fields projectid and
projectname and tasks has the fields taskid, taskname and projectid.
Currently my code structure is like this.
select projectid,projectname from project.
{
add projectname as the summary task.
Then select all the tasks which has the above projectid(assume some 20
tasks are there).
{
Add this as the child task.
}
}
This code works fine. But the issue is that it takes one minute for each
iteration. So if 200 projects are there, then it takes 200 minutes. Please
suggest some ways by altering the query so that i can speed up the process.
I want to create a mpp file in ms project using c#. For this purpose, i
created 2 tables "project" and "tasks". Project has the fields projectid and
projectname and tasks has the fields taskid, taskname and projectid.
Currently my code structure is like this.
select projectid,projectname from project.
{
add projectname as the summary task.
Then select all the tasks which has the above projectid(assume some 20
tasks are there).
{
Add this as the child task.
}
}
This code works fine. But the issue is that it takes one minute for each
iteration. So if 200 projects are there, then it takes 200 minutes. Please
suggest some ways by altering the query so that i can speed up the process.