how to insert selected item from combobox to gridview or list view

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yousof
    New Member
    • Dec 2010
    • 2

    how to insert selected item from combobox to gridview or list view

    i have web page that contian combobox filled from table
    Code:
     If CtvAct.GetRecords("Fill_ActivityTb") = True Then
                    AcivityCombo.DataSource = CtvAct.MainDataset.Tables("tbOLActivity").DefaultView
                    AcivityCombo.DataTextField = "ActivityName"
                    AcivityCombo.DataValueField = "ActivityId"
                    AcivityCombo.DataBind()
    i want to select an item from these combobox and pass it to gridview or listview
    please help me how can i do these
    Last edited by jhardman; Dec 23 '10, 05:42 PM. Reason: Accidentally posted in asp classic forum. Moved to asp.net
Working...