blah blah blah is here! blah blah » Close

0
votes
0 answers

garbage collection

[code]using System; class MyClass { int a, b; // private // Create a class factory for MyClass. public MyClass Factory(int i, int j) { MyClass t = new MyClass(); t.a = i; t.b = j; [b]retu ...

0
votes
0 answers

How do I know what button invoked the page????

I am using C# and developing on the 4.0 Framework I am using an UpdatePanel and ScriptManager to have a nice tabbed div to switch back and forth between tabs. My code is extremely complex but the problem is simple: Using "Eve ...

0
votes
1 answers

Make a copy of a List<object>

Not having much luck with this one. I just want to make a copy of a list of objects that are passed into the method. The reason is that I don't want the changes to take effect on the original until they are verified with the temporary ...

0
votes
1 answers

Persist an object to a Database in C#?

Ok, I was talking to a colleague of mine, and this conversation evolved from Stored Procedures into object persistence. My colleague (who is EXTREMELY knowledgeable) is a Java guy, and I'm more of a .NET guy (but I'm learning several dif ...

1
votes
1 answers

Getting A Reference To Another Object Outside The Current Scope

eeboy
499

I've got a problem and I don't know what jargon would accurately describe it so I'll just put it out there... [code] public class MyClass { public List<Device> Devices; public Library GlobalLibrary; ...

0
votes
1 answers

Unable to Cast Object Type

I am receiving this error when trying to update int fields on a page. I'm very new to this and don't understand the message. I've tried to research it but haven't found anything. Can anyone give me an idea of what to look for? Unable ...

0
votes
0 answers

Object reference not set to an instance of an object.

Hi all, I am facing the object reference error is the following line: [code] this.bitSize = key.Parameters.P.BitLength; [/code] It seems that P does not contain anything.. I tried to check this by printing out the value using [c ...

0
votes
0 answers

Clone a PictureBox control?

Hiya! I'm Michael. You may remember me:) I was out for a while. Whatever. I got a picture box - wall. I need to clone it and make a row of walls. Instead of creating 15 walls - wall, wall2 ,wall3... is there a way I can clone the picture bo ...

Feedback