Skip to content

How to update the time for any Item-ListView

shah

Asked May 8, 2007, 3:27 AM EDT1 answer
Share
LinkedInX
Hi, LastViewItem lvt; ListView scheduleListView; private void editBtn_Click(object sender, EventArgs e) { if (scheduleListView.SelectedItems.Count > 0) { if (scheduleListView.SelectedItems[0].Selected) { scheduleListView.Items.Add(lvt); scheduleListView.Update(); scheduleListView.Invalidate(); } } } I have hour and minute control as DomainUpDown controls and when i change the time for any of those control time should be updated in listview for that selected item. Give me any rough idea please. Thanks

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Any help. Just some more explanation that what I am doing scheduled application where I have two controls for hour and minutes as DomainUpDown Controls and i have a button as edit. Now the query is when i select any item in ListView and then change the hour and minute for that item and then click on edit which will update the starting time of that event. Now the code for edit which i was trying to write as my last thread.
    0