Advertisement

07.22.2008 at 12:32PM PDT, ID: 23586292 | Points: 500
[x]
Attachment Details

Gridview Creation using add and delete button for the records

Asked by Nocoder in Microsoft Development, Microsoft Visual Basic.Net, .Net Editors & IDEs

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/suggestions/tutorial to get this issue

Really appreciate any help
Start Free Trial
[+][-]07.22.2008 at 05:29PM PDT, ID: 22065013

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628