I have a requirement for my website
my gridview must have 4 headers
header1 header2 header3 ADDBUTTON(header 4 )
the gridview must have 6 columns
column1 : this column is a dropdownlist which has a sqldatasource as its data source from a table
column2 : this value is a label (comes from the postback of the dropdownlist,depending up on the tem selected in ddl)(non editable)
column3: this value also comes from the post back event of the dropdown list(quantity)((editable textbox))
column4: this value also comes from the post back of event dropdownlist (price)((editable textbox))
column5 : this is a lebel dynamically generated by multiplying the vallues of column3 and column4 (non editale)
this column 5 must change whenever column 3 or column4 changes
column6: this has a delete button which deletes the present row
Now coming to my requirement
intially when the user comes to the page
the user must see the gridview with only 1 row
when the user clicks the addrow button on the gridview(header 4)
a new row (with the columns as specified above) must be inserted
Im in need of any links/solutions/suggestion
s/tutorial
to get this issue
Really appreciate any help
Start Free Trial