When you add "OT_Hours" you are creating a new column with that name not using the OT_Hours you created earlier. You need to:
MyTable.Columns.Add(OT_Hours)
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |