B
Brent Starkes
ok.... this is a strange error and it only happens in 2 instances
1) it happens when the program is first compiled. a restart of the program
solves the problem
2) and when its out of order .... eg ( 12 Mad dog, 34 may and bbb) where bbb
is displayed twice.
this bbb is displayed twice in both instances.
here is the code:
Debug.WriteLine("miAddLCProject_Click (BEFORE) : " +
this.dsProjects.Tables["projects"].Rows.Count.ToString());
System.Data.DataRow newRow = this.dsProjects.Tables["projects"].NewRow();
newRow["projectName"] = curProject.ProjectName.ToString();
this.dsProjects.Tables["projects"].Rows.Add(newRow);
this.daProjects.Update(this.dsProjects, "projects");
this.daProjects.Fill(this.dsProjects, "projects");
Debug.WriteLine("miAddLCProject_Click (AFTER) : " +
this.dsProjects.Tables["projects"].Rows.Count.ToString());
and when the error occurs, the debug lines output say 2 and 4
any ideas what could be causing this error....
Brent
1) it happens when the program is first compiled. a restart of the program
solves the problem
2) and when its out of order .... eg ( 12 Mad dog, 34 may and bbb) where bbb
is displayed twice.
this bbb is displayed twice in both instances.
here is the code:
Debug.WriteLine("miAddLCProject_Click (BEFORE) : " +
this.dsProjects.Tables["projects"].Rows.Count.ToString());
System.Data.DataRow newRow = this.dsProjects.Tables["projects"].NewRow();
newRow["projectName"] = curProject.ProjectName.ToString();
this.dsProjects.Tables["projects"].Rows.Add(newRow);
this.daProjects.Update(this.dsProjects, "projects");
this.daProjects.Fill(this.dsProjects, "projects");
Debug.WriteLine("miAddLCProject_Click (AFTER) : " +
this.dsProjects.Tables["projects"].Rows.Count.ToString());
and when the error occurs, the debug lines output say 2 and 4
any ideas what could be causing this error....
Brent