Jump to content


How to add ComboBox column to DataGrid?

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Abinash Tumulu

Abinash Tumulu

    Newbie

  • Members
  • Pip
  • 1 posts
I have a requirement. In grid view 3 columns, 1st column - text, 2nd column - Text, 3rd column - ComboBox(twist is that, depending on the 2nd column only 3rd column's items should populate)

e.g:


-------------------------------------------------------------------
Item     ||    Operation        ||        Status (combobox items)
-------------------------------------------------------------------
Door       ||  Cleaning status    ||    Cleaned,Not Cleaned,Avg Cleaned
Bathroom||  Water availability  ||   Full, Empty
Bar         ||  Availability           ||   Empty,10-20,20-30,30-40
Window    || Cleaning status     ||   Cleaned,Not Cleaned,Avg Cleaned




on click of save button, I have to save to DB(loop and save)

So How Can I achive this task..... Anyone give idea.....


Regards
Abinash


#2
Paul Diston

Paul Diston

    Newbie

  • Members
  • Pip
  • 15 posts
Hi,

You may be interested in the following blog posting :-

http://blogs.msdn.co.../25/583542.aspx

Hope this helps.

Paul Diston





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users