We will be undergoing scheduled maintenance on May 20th, 2013 at 02:00 GMT.
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
Now let's display the task on the ToDo page. Again it would be great if we could re-use the code from the ToDo desktop application. So let's grab the task class that we made. It won't quite work as we'll see when we try to run the project because all the references to the database are still using the gaubal from the desktop application, and we need to change it to use the session variable. So let's search again. We can select all the rows from the task class, and tell it to use the session variable connection. Now our app runs without compile errors. Now let's open the ToDo page. Back in our desktop application we had a method on the ToDo window that loaded the tasks. Let's copy this method. For now we'll need to comment out the line referring to the cell check because that is not a valid property on the web list box control. In the shown event, we can now call our load task method, and here we see all the to do's that were entered in the desktop application. This is because both the desktop and the web application are pointing to the same database file. Let's go back to load tasks. Let's at least put some indicator in the first cell to indicate when a task is completed. We will simply just put an X in the first column when tasks are marked as completed. The call client and the dentist appointment tasks are marked as completed. If we switch back to REAL Studio, and go to our ToDo application, and run that, we will now see the same data.
| Course: | Real Studio |
| Author: | Paul Lefebvre |
| SKU: | 34190 |
| ISBN: | 1-936334-77-1 |
| Release Date: | 2011-02-02 |
| Duration: | 7 hrs / 87 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |