Custom Search

Saturday, May 17, 2008

Using Database Commands in ASP.NET

The SqlDataSource control can be used to represent four different types of SQL commands that use for executing inline SQL statements. The control supports the following four properties:
selectCommand, insertCommand, updateCommand, and deleteCommand
Example

asp:SqlDataSource

id="srcStudent"

SelectCommand="SELECT * FROM student"

ConnectionString="<%$ ConnectionStrings:Student %>"

Runat="server"






No comments:

Free Traffic

 Join My Community at MyBloglog! Blog Flux Directory 

Web Developement Blogs - BlogCatalog Blog Directory web development blog  Internet Blogs - Blog Top Sites 

Blog Directory 

Click Here for Free Traffic!

Link2Communion.com