Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 13th, 2005, 04:28 AM
Registered User
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vivekian
Default How to add rows in DataGrid ?

Hi ,

I am creating a webapp where there are 3 dropdownlists. The first two are statically populated while the 2nd is databound as per the selectedvalue in the 1st dropdownlist. The 3rd dropdownlist has two values and if either is selected a new row should be generated having the same controls ( i.e. the 3 dropdownlists ). I started by using a datagrid and all the three lists are itemtemplates. I can dynamically populate the 2nd ddl , but creating a new row is problematic. The solutions which I have found relate more to how to add a row to datasource and then bind it to the datagrid. But i think this does not solve my problem. Also, is using the datagrid the right choice in the first place ?

Thanks ,

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Rows to Grid View dpkbahuguna ASP.NET 1.x and 2.0 Application Design 0 March 19th, 2008 04:05 AM
Add&Remove rows from DB using listbox martinhogan VB Databases Basics 3 September 11th, 2006 06:24 AM
how to add rows to the child grid Amorous ASP.NET 1.0 and 1.1 Basics 1 January 12th, 2006 06:44 PM
How to add rows in DataGrid ? vivekian ASP.NET 1.0 and 1.1 Professional 0 March 13th, 2005 04:30 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.