How to insert values using SQLDataSource code behinde instead of markup language

Harreni used Ask the Experts™
Hi All,

I need the whole code that explaining how to insert values using code behinde instead of markup language way:

This the sqlDatasource event that I'm looking for:

private void On_Inserted(Object sender, SqlDataSourceStatusEventArgs e) 


Open in new window

Thanks a lot..
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Are you looking for something like that: ?

Or are you looking for communicating with the database without the SqlDatasource stuff?
You might want to take a look into the enterprise-library:
That lib will encapsulate most of the Database stuff for you
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial