Updating a pdf file

Figure 6: Add a Test Category with a Brochure and Image (Click to view full-size image) Figure 7: After Inserting the Test Category, it is Displayed in the Grid View (Click to view full-size image) In Visual Studio, refresh the Solution Explorer.

After configuring the Object Data Source, add deleting capabilities to the Grid View by checking the Enable Deleting checkbox from the Grid View s smart tag.Note that this extra code is not needed to clean up the category s binary data associated with its picture.That s because the picture data is stored directly in the database, so deleting the row also deletes that category s picture data.These are the methods that will be invoked from the Presentation Layer. The rationale behind using two methods is that in some circumstances, a user might want to update the category s picture along with its other fields, in which case the user will have to upload the new picture. To remedy this, click on the Configure Data Source option from the Object Data Source s smart tag to launch the wizard.The uploaded picture s binary data can then be used in the column as well, then we d need to provide that information as well. The first screen shows that the Object Data Source is configured to work with the Note Upon completing the wizard, Visual Studio may ask if you want to Refresh Fields and Keys, which will regenerate the data Web controls fields.

Leave a Reply