PDA

View Full Version : GridView Experts save me out


akshatha306
08-01-2006, 11:10 AM
I am having a tough time designing this page... I shall explain here. If somebody can give me any ideas?

OK... TextBox called Country which will have the country name.
Under that would be the set of states in that country... Initially this is loaded from the database.Now it is editable
There should be 2 buttons. saying add State and add country.
If i click on the add State... another textbox should appear (ie another row in the grid) in the same country where the user can add a state.
If i click on add country another blank set of country and state textBoxes should appear where the user can enter a new country and all states under it..
This should all be using Grid View.
How can i do it..

What i am doing is:
i have the set of states in a datalist...
Now can i insert this datalist inside the gridview ...
if no: How else can i do it
Someone who can help me:confused: