Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to create a new list in SharePoint 2010. when I enter new row in list , it also add new row in my custom database also.

Can anyone give me idea how can I write code or design my SharePoint Site?

Thanks for any ideas.

share|improve this question
add comment

1 Answer

You need a ItemAdded event which will add entry to your database table when someone will add a item this event or code will trigger and will save data using SQL insert query into database, but I recommend you using Stored procudure.

Using Event Receivers in SharePoint Foundation 2010 (Part 1 of 2)

share|improve this answer
    
Hi, Raja Please can you give me url of example –  Kapil Dave Mar 26 '13 at 9:21
    
check this blogpost sharepointbulletin.blogspot.co.uk/2013/03/… –  Muhammad Raja Mar 26 '13 at 9:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.