Click here to Skip to main content
15,921,990 members
Home / Discussions / C#
   

C#

 
GeneralRe: filling a dataGridView, editing and overwriting Pin
Emmet_Brown30-Nov-09 21:29
Emmet_Brown30-Nov-09 21:29 
AnswerRe: filling a dataGridView, editing and overwriting Pin
souidi abderrahman30-Nov-09 20:59
souidi abderrahman30-Nov-09 20:59 
GeneralRe: filling a dataGridView, editing and overwriting Pin
Emmet_Brown30-Nov-09 21:08
Emmet_Brown30-Nov-09 21:08 
AnswerRe: filling a dataGridView, editing and overwriting Pin
souidi abderrahman30-Nov-09 21:37
souidi abderrahman30-Nov-09 21:37 
GeneralRe: filling a dataGridView, editing and overwriting Pin
Emmet_Brown30-Nov-09 21:42
Emmet_Brown30-Nov-09 21:42 
QuestionCreate playlist and play using windows media player control Pin
yesu prakash30-Nov-09 18:03
yesu prakash30-Nov-09 18:03 
AnswerRe: Create playlist and play using windows media player control Pin
dan!sh 30-Nov-09 19:29
professional dan!sh 30-Nov-09 19:29 
QuestionObject array problem Pin
CrazyCoder2630-Nov-09 17:53
CrazyCoder2630-Nov-09 17:53 
AnswerRe: Object array problem Pin
dan!sh 30-Nov-09 18:25
professional dan!sh 30-Nov-09 18:25 
GeneralRe: Object array problem Pin
CrazyCoder2630-Nov-09 18:29
CrazyCoder2630-Nov-09 18:29 
GeneralRe: Object array problem Pin
dan!sh 30-Nov-09 18:43
professional dan!sh 30-Nov-09 18:43 
AnswerRe: Object array problem Pin
Blue_Boy30-Nov-09 20:55
Blue_Boy30-Nov-09 20:55 
GeneralRe: Object array problem Pin
vtchris-peterson1-Dec-09 7:20
vtchris-peterson1-Dec-09 7:20 
GeneralRe: Object array problem Pin
CikaPero2-Dec-09 5:05
CikaPero2-Dec-09 5:05 
GeneralRe: Object array problem Pin
Blue_Boy2-Dec-09 6:58
Blue_Boy2-Dec-09 6:58 
AnswerRe: Object array problem Pin
ThatsAlok30-Nov-09 22:42
ThatsAlok30-Nov-09 22:42 
AnswerRe: Object array problem Pin
Shameel1-Dec-09 6:54
professionalShameel1-Dec-09 6:54 
AnswerRe: Object array problem Pin
vtchris-peterson1-Dec-09 7:17
vtchris-peterson1-Dec-09 7:17 
If you are wanting to compare the contents of the arrays, then consider the following code:

/// <summary>
/// Compare 2 arrays for equality.
/// </summary>
/// <param name="data1">Array 1.</param>
/// <param name="data2">Array 2.</param>
/// <returns><c>true</c> if equal, <c>false</c> otherwise.</returns>
public static bool CompareArrays<T>(T[] data1, T[] data2)
{
   // If both are null, they're equal
   if ((data1 == null) && (data2 == null))
   {
      return true;
   }
   // If either but not both are null, they're not equal
   if ((data1 == null) || (data2 == null))
   {
      return false;
   }
   if (data1.Length != data2.Length)
   {
      return false;
   }
   for (int i = 0; i < data1.Length; i++)
   {
      if (!data1[i].Equals(data2[i]))
      {
         return false;
      }
   }
   return true;
}

Question[Message Deleted] Pin
arun_pk30-Nov-09 17:32
arun_pk30-Nov-09 17:32 
AnswerWrong Forum Pin
dan!sh 30-Nov-09 17:45
professional dan!sh 30-Nov-09 17:45 
Question[Solved] Client-Server communication Pin
Frank Böttcher30-Nov-09 16:08
Frank Böttcher30-Nov-09 16:08 
AnswerRe: Client-Server communication Pin
Jimmanuel1-Dec-09 3:36
Jimmanuel1-Dec-09 3:36 
AnswerRe: Client-Server communication Pin
Paulo Zemek1-Dec-09 5:17
Paulo Zemek1-Dec-09 5:17 
QuestionProblem editing DataGrid Pin
Maxdd 730-Nov-09 14:28
Maxdd 730-Nov-09 14:28 
AnswerRe: Problem editing DataGrid Pin
Dr.Walt Fair, PE30-Nov-09 17:07
professionalDr.Walt Fair, PE30-Nov-09 17:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.