Build a Website
$10-30 USD
Pagado a la entrega
Exercises for creating database table, xml file, using Data Source Controls, Gridview and Detailsview Controls
[login to view URL]:
1. Create a database table to store name, email, password and country
2. Create a sqldatasource and use gridview to display table, allow edit and delete table rows
3. To insert rows to table, use textbox for name, email and password, dropdownlist for country, and a label for message
4. Create a xml file which contains countries: UK, USA, INDIA, JAPAN, and create a xmldatasource
5. Configure dropdownlist for the xmldatasource
6. When Add button is clicked, use the sample codes below for the event
[login to view URL]["name"].DefaultValue = [login to view URL];
[login to view URL]["email"].DefaultValue = [login to view URL];
[login to view URL]["password"].DefaultValue = [login to view URL];
[login to view URL]["country"].DefaultValue = [login to view URL];
try
{
[login to view URL]();
[login to view URL] = "";
[login to view URL] = "";
[login to view URL] = "";
[login to view URL] = "";
[login to view URL] = "Student Added";
}
catch (Exception ex)
{
[login to view URL] = "";
}
[login to view URL]:
1. Create a sqldatasource and enable Selection
2. Configure sqldatasource for a gridview which displays the table content
3. Configure a sqldatasource for a detailsview control which shows the detail for the selected row on gridview
Submission:
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
Nº del proyecto: #10986402