views:

27

answers:

0

Dynamic row generation in GridView.

I have one button called 'Add New Row' and database Fields: First name, Last Name, Location, Status

status --- Working, Suspended, Resigned

If i click the 'Add NewRow' button then i should get new row in gridview and All fields(First Name, Last Name, Location) should be text fields. Status field should added as dropdown list in GridView.

i.e. the dynamic generated gridview should have the fields for First Name, Last Name, Location that are TextFields, and Status would be a DropDownList.