Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to bind grid view first column with DropdownList and remaining columns should be empty.

When I select any one of the items from the dropdownlist it will fill the columns and it will generate new row with dropdownlist and empty rows.

I tried for this in different ways and I am able to bind the grid with dropdownlist but it displays total items rows.
I want to display at the first time only one row.

Please advise me.

At last when I click on save button those all records will be inserted into the database.

I need exactly like this

Product Name Qty Required Remarks
---------------------------------------------------------
Battery Charger empty empty

But I am getting at first time like this.

Product Name Qty Required Remarks
---------------------------------------------------------
Battery Charger empty empty
Notepad Pen empty empty
xxx empty empty



Regards,
Jeevan.
Posted
Updated 7-Sep-10 12:39pm
v2
Comments
Sushant Joshi 6-Sep-10 23:50pm    
Could you please post the Code Snippet so that it would be easier to understand the issue
Dalek Dave 7-Sep-10 18:39pm    
Edited for Grammar, Spelling and Syntax.

 
Share this answer
 
v5
Check this too .It will help you
Adding Empty Rows in GridView[^]
 
Share this answer
 
Comments
Dalek Dave 7-Sep-10 18:40pm    
Good Call.
raju melveetilpurayil 7-Sep-10 18:41pm    
thanks :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900