These are the simple steps for inserting,updating and deleting records in ListView control.
Create new project
Configure entity data model with the project :
i) Add new item ->Data->ADO.NET Entity Data Model-> add
ii) Select Generate from database->next
iii) Click on new connection -> fill server name, select Use SQL Server Authentication, fill username and password, click ok
iv) Select yes,include the sensitive data in the connection string
v) Click on finish
Build the project
Drag listView control in aspx page
Click on configure data source select Named Connection and Default ContainerName, click next
Select entity Set Name as table , name of table from which we show information
0 Comment(s)