About Me

P.Sanmukha Rao is working as an Senoir Software Engineer in Bangalore Igate. He has almost 2.6 years of IT experience in ASP.Net,Sql Server and having some relevant working knowledge on MongoDB.

His main intention of writing this blog is share his working experience and knowledge with others as it has been its passion and interest.

3 comments

  1. Hi i need to delete a collection directly using c# winforms . im new learning pls reply

    1. sorry rajesh i couldn’t get your question properly. collection in the sense do you want to delete collection items ?

    2. // if you want to remove particular items

      List listitems = list1.Datasource;
      eg: foreach( var items in listitems)
      {
      listitems.Remove(items);
      }

      // if you want to clear entire list collection items.

      listBox1.Items.Clear();

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: