13.07.2015 Views

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 12: ADO.<strong>NET</strong>: Hello Database 293Figure 12-6 Adding data to tableapplication so that remote users anywhere in the world can enter data, but for now you canenter data simply by typing it in using Visual Studio 2008:1. Right-click on the Supporters table, and in the pop-up menu select Show Table Data asshown in Figure 12-6. When the table opens, you will see NULL values for all of yourfields in a single row as shown in Figure 12-6.2. As you start entering data by typing the information into each cell, you will see alittle red circle with an explanation point as shown in Figure 12-7. Once you arefinished with each row, the red circles go away. If you enter data incorrectly, a dialogbox appears once you are finished, indicating data entry error. Incorrect data entry isgenerally due to either putting in the wrong kind of data or exceeding the limits ofone of the fields—a very long name might exceed the limit of 15 characters in theLastName field, for example.Figure 12-7 Entering table values

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!