Search

You searched for the word(s): userid:856993

Matching Posts

  • Re: how to call static class?

    Two things to remember to acces Ststic Class: 1. Use the namespace of the Static Class 2. Use it as ClassName.SomeField Regards, Soumen
    Posted to C# (Forum) by Rimbik on 11/11/2009
  • Re: C# compilation

    Please place that to .NET Framework Zone if it is there.
    Posted to C# (Forum) by Rimbik on 11/4/2009
  • Re: How can i do loop by descending ?

    You got the answer thats correct. What I will suggest that Learn a concept called: Programming Techniques (PT)/Flow Chart where you will no how to implement sucg logic/algorithm, If you learn that you will be able to do loop or such thing easily with any language even in assembly language.
    Posted to C# (Forum) by Rimbik on 11/3/2009
  • Re: Guid - Specified cast is not valid when no data is found

    What I usualy go with this situation is. I use ExecureReader , then if rocord found, check reader is not null and use .Read() to get the Guid of specified user. Hope u understood. REegards.
    Posted to C# (Forum) by Rimbik on 11/2/2009
  • Re: How to add Items from a ListBox to an IList

    Here you go! using System.Linq; IEnumerable<string> query = (this.listBox1.Items).Cast<String>(); For more help refer: http://msdn.microsoft.com/en-us/library/bb341406.aspx Enjoy! Soumen, India
    Posted to C# (Forum) by Rimbik on 11/2/2009
  • Re: Fundamental difference between foreach and IList.ForEach?

    Yes, there is an error , it should be list.Remove(p); Here my concerned was to know the underlaying logic behind that, and your replies solved that too some extend. Thanks to all, Soumen
    Posted to C# (Forum) by Rimbik on 10/26/2009
  • Fundamental difference between foreach and IList.ForEach?

    What is the besic/fundamental difference between foreach and IList.ForEach? say for example: IList<string> list = new List<string>(); list.Add("AA_Apple"); list.Add("AB_Apple123"); list.Add("AA_Apple456"); --------- foreach(string s in list) if(s.StartsWith("AA")) list.Remove(s);// gives runtime error as list modified @ runtime ----------- where as: list.ForEach( p => { if(p.StartsWith("AA")) list.Remove("AA"); // works perfect
    Posted to C# (Forum) by Rimbik on 10/23/2009
  • Re: Inserting images in SQL Server using C#

    May be some one has already said this. But in short, you can use Bute[] as datatype to save in database, retrive it, and bind it in image. The problem: If the image bute is very large, you might have problem picking all the butes from Sql Server, so u may need to fetch block by block. What I think is: use the harddisk location for storing images whereas can keep the file path (Image Url) in Database table. -- Soumen
    Posted to C# (Forum) by Rimbik on 10/22/2009
  • Re: Convert array to list

    Well,I do not agree completely that the post was duplicate. There is something which need to be noticed. that is: new List and .ToList 1. new List(IEnumerable<T> collection); 2. ToList<TSource>(this IEnumerable<TSource> source); When you look at these two types of code , you get lot of questions in mind. I was wondering which one is the best? The new List<T> or ToList(), Is new List<T> handles System.ArgumentNullException? No, it does not. -- It is not only about getting
    Posted to C# (Forum) by Rimbik on 10/16/2009
  • Re: Process.Start doesn't work.

    Just an Idea: Microsoft Office Interop is suitable in this regard. -- Soumen
    Posted to C# (Forum) by Rimbik on 10/15/2009
Page 1 of 24 (239 items) 1 2 3 4 5 Next > ... Last »