Click here to Skip to main content
15,901,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am just starting to work in the .NET Framework 4 using C# and ASP.NET. I created an ADO.NET Entity Model and have successfully used the entitydatasource to fill a data grid control. However, I can't to figure out how to select multiple rows for deletion and delete the rows immediately then show the results immediately. Is there a way to do this? I have Visual Studio 2012 using and SQL Server 2012 Express Edition. I have searched and read yet not seen a tutorial or document that can help me to do this. Examples are welcomed.

I am still in the novice stage so I will accept any information that any one could provide on this. CRUD is something I would like to overcome as a novice not only with one record at a time but with multiple rows and by extent across multiple tables.
Posted
Updated 21-Jun-13 9:17am
v2

Hello,



Link to article: http://www.dotnetcurry.com/ShowArticle.aspx?ID=619[^]

Cheers,
JAFC
 
Share this answer
 
Thanks for the response. However, I am not using the console, I am using ASP.NET C# environment. Is there any way using the datagrid with the addition of checkboxes to multiple select the rows that I want to delete? Wouldn't mind the code as well as a pictural example.

Also how is Entity Framework integrated in a n-tier framework. Do you still create the BLL and DAL by placing the EF model in the DAL?

Thanks again for any response to these concerns.

HeadBeav98
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900