AspDotNetAtoms.com provides daily updates on ASP.NET Tutorials, Programming Resources, .NET Articles, Authors and more.

Categories

Recent Posts

Using Parameterized Queries with the SqlDataSource : Scott Mitchell

Monday, September 22 2008

In the previous tutorial we saw how to use the SqlDataSource control to retrieve data directly from a database. Using the Configure Data Source wizard, we could choose the database and then either: pick the columns to return from a table or view; enter a custom SQL statement; or use a stored procedure. Whether selecting columns from a table or view or entering a custom SQL statement, the SqlDataSource control’s SelectCommand property is assigned the resulting ad-hoc SQL SELECT statement and it is this SELECT statement that is executed when the SqlDataSource’s Select() method is invoked (either programmatically or automatically from a data Web control)....

Read More:
Using Parameterized Queries with the SqlDataSource : Scott Mitchell
Also See:
Understanding Script Injection Attacks : Sanjit Sil
Performing Batch Deletes from the Database : Scott Mitchell
Save and Retrieve Images from the Database using ASP.NET 2.0 and ASP.NET 3.5 : Suprotim Agarwal
SQL Injection some tools to help : ASP.NET Debugging
Integrate Windows Live ID Authentication with ASP.NET Membership, Profiles and Roles : Peter A Bromberg

Post your comment

Comment