Click here to Skip to main content
15,891,981 members
Home / Discussions / C#
   

C#

 
QuestionHow do I generate a Unique AlphaNumeric ID in C# Pin
ebukaegonu24-Oct-11 1:50
ebukaegonu24-Oct-11 1:50 
AnswerRe: How do I generate a Unique AlphaNumeric ID in C# Pin
Not Active4-Oct-11 2:26
mentorNot Active4-Oct-11 2:26 
AnswerRe: How do I generate a Unique AlphaNumeric ID in C# Pin
BobJanova4-Oct-11 2:56
BobJanova4-Oct-11 2:56 
AnswerRe: How do I generate a Unique AlphaNumeric ID in C# Pin
Ian Shlasko4-Oct-11 5:18
Ian Shlasko4-Oct-11 5:18 
AnswerRe: How do I generate a Unique AlphaNumeric ID in C# Pin
Matt Meyer4-Oct-11 6:40
Matt Meyer4-Oct-11 6:40 
QuestionHow do I add row data directly to a DataGrid Class? Pin
Xarzu4-Oct-11 1:24
Xarzu4-Oct-11 1:24 
AnswerRe: How do I add row data directly to a DataGrid Class? Pin
Pete O'Hanlon4-Oct-11 1:29
mvePete O'Hanlon4-Oct-11 1:29 
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Xarzu4-Oct-11 18:38
Xarzu4-Oct-11 18:38 
It seems that once the databinding is done, and if you change the data you have to rebind to the control. This is what was giving me difficulty before. So what I have to do is run some command like this:

this.mutlicoolgridview.ItemsSource = null;
this.mutlicoolgridview.ItemsSource = SampleData.GetSampleDataNew();

The problem I am having now is this. After running his command about one thousand times, I actually run out of memory. I think that doing this:

this.mutlicoolgridview.ItemsSource = null;

is not such a good idea. Is there a better command to do to free up the memory?
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Pete O'Hanlon4-Oct-11 22:03
mvePete O'Hanlon4-Oct-11 22:03 
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Xarzu5-Oct-11 6:16
Xarzu5-Oct-11 6:16 
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Pete O'Hanlon5-Oct-11 7:33
mvePete O'Hanlon5-Oct-11 7:33 
AnswerRe: How do I add row data directly to a DataGrid Class? Pin
ebukaegonu24-Oct-11 2:08
ebukaegonu24-Oct-11 2:08 
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Xarzu4-Oct-11 18:38
Xarzu4-Oct-11 18:38 
QuestionRoller Pin
Xarzu4-Oct-11 0:56
Xarzu4-Oct-11 0:56 
AnswerRe: Roller Pin
DaveyM694-Oct-11 1:10
professionalDaveyM694-Oct-11 1:10 
AnswerRe: Roller Pin
Pete O'Hanlon4-Oct-11 1:20
mvePete O'Hanlon4-Oct-11 1:20 
AnswerRe: Roller Pin
BobJanova4-Oct-11 1:26
BobJanova4-Oct-11 1:26 
GeneralRe: Roller Pin
Xarzu4-Oct-11 17:01
Xarzu4-Oct-11 17:01 
GeneralRe: Roller Pin
BobJanova4-Oct-11 22:52
BobJanova4-Oct-11 22:52 
QuestionError!!! Pin
angel 23-Oct-11 22:14
angel 23-Oct-11 22:14 
AnswerRe: Error!!! Pin
CodingLover3-Oct-11 22:59
CodingLover3-Oct-11 22:59 
GeneralRe: Error!!! Pin
angel 24-Oct-11 0:40
angel 24-Oct-11 0:40 
GeneralRe: Error!!! Pin
CodingLover4-Oct-11 0:55
CodingLover4-Oct-11 0:55 
GeneralRe: Error!!! Pin
angel 24-Oct-11 2:14
angel 24-Oct-11 2:14 
GeneralRe: Error!!! Pin
CodingLover4-Oct-11 18:48
CodingLover4-Oct-11 18:48 

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.