Thread: Datagrid
View Single Post
  #2 (permalink)  
Old January 30th, 2007, 02:47 AM
jasdeephere jasdeephere is offline
Registered User
Join Date: Jan 2007
Location: Chandigarh, UT, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jasdeephere


You Should write a query in dropdownlist_selectedindexchanged event

dim adp as new sqldataadapter("select * from table_name where product = '" & dropdownlist.selectedvalue & "'",con)
dim ds as new dataset

datagrid.datasource = ds

and use template column to display records into datagrid
in these template columns use ItemTemplate and Controls to add are
textboxes and also you can add one button to update.
This is the small idea about ur problem.

Wish u get something from it

Thanx & Regards
Jasdeep Singh