One more problem is i have main method defined in 2 places one if the main form schedule.cs and one in windowsService.cs? Is there anyway that...
I have done one application now which is about scheduling application. Now I was looking for windows service and how to do add so i created new...
ahahhaa... I am not lazy com'n .. and some snippet code or algorithm just makes life easier instead of text :) Anyway thanks Shabbir.
It worked thanks. I got the idea of items and subitems perfectly. Thanks again Shabbit bhai
Any help. Just some more explanation that what I am doing scheduled application where I have two controls for hour and minutes as DomainUpDown...
No Shabbir brother can you be more specific please? Thanks
I didnt understood what you mean?
Hi, private void editBtn_Click(object sender, EventArgs e) { if (scheduleListView.SelectedItems.Count > 0)...
while (scheduleListView.SelectedItems.Count > 0) { scheduleListView.Items.Remove(scheduleListView.SelectedItems[0]);...
I am trying to remove item from ListView but when i click on remove it doesnt remove the last item or in the middle but when i select the first...
It worked. Thanks added new function to check the duplication private bool IsInCollection(ListViewItem lvi) { foreach...
This below code doesnt work foreach(string itemtext in scheduleListView.Items) // change it to subitems or as needed?? The main issue is...
Can you write sample of code please?
What you mean?
What would be the best way then? Can you give me the loopong condition here please? e.g. foreach(lvt.SubItems in scheduleListView.Items)...
I have the code which i used to check duplication in listbox but not working? Q. I have 3 columns in listview grid and i want to check...
But you are the star.. Thanks
I got the solution : ListViewItem lvt = new ListViewItem(new String[] { subjTextbox.Text, textFile.Text, "", "" });...
How would you do that? Can you please code something if possible? Thanks,
I agree to your solution but i have more then one column in ListView. I want to add that file name into specific column.
Separate names with a comma.