17.07.2015 Views

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 5: <strong>FILESTREAM</strong> with ASP.NET and SilverlightAdding a new web form and data gridNext, add a new web form named ItemList.aspx to the project, then drag a GridViewcontrol from the toolbox and drop it on the web form (Figure 5-22).Figure 5-22:A GridView control.Adding a data sourceIn this step, we will create a data source that fetches the item details, and binds it tothe GridView control. Go to the properties <strong>of</strong> the GridView control, and locate theDataSourceID property. From the drop-down list, select New data source (Figure 5-23).Figure 5-23:Creating a new data source.196

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

Saved successfully!

Ooh no, something went wrong!