I have very little experience with asp.net and need some help with a presumably simple task.
I have a table in the database that consists of date, headline, text and a flag that says if the headline is to be displayed on the start page.
I want help to code the webform to meet the following requirements:
- The date, title and flag must be listed in a table (BUT NOT THE TEXT).
- You must be able to change the flag with a single click.
- You must be able to change the headline AND TEXT for a row.
- You must be able to add a new row.
You can partion the page to two sections:
1- a form contains the fields (text and headline) on a panel to show and hide .the default to this panel is (visible = false).and a button to save changes.
2- a panel contains a gridview , the grid view bind on your table , but take care to use a template field to put the check box and bind the Checked property to the flag field.add a template field and add a link button to edit the row.when you clicked the link then you hide this panel and show the above panel to edit the data.
this is an initial view to the UI.