blah blah blah is here! blah blah » Close

0
votes
1 answers

Visual Studio Deleting Code

I have been working for a while on an ASP.NET project but recently it just stopped working. I found that the Page_Load function is not even being called because the InitializeComponent function is being altered by (I assume) Visual Studi ...

0
votes
1 answers

Selecting an item in datalist

I'm working with a datalist that is built based upon data from a database. When I select an item for editing the page reloads and the correct item is set as the editable item, but the page reloads from the top, so the now editable item ...

0
votes
1 answers

SqlDataReader byRef?

Here is some code: SqlDataReader allSizes; SqlDataReader tempSizes; tempSizes = allSizes = Get_Sizes(); //returns sqldatareader //At this point tempSizes and allSizes are identical sqldatareader objects holding the same data. while (te ...

0
votes
1 answers

File.copy

I'm using the File.Copy method of System.IO to copy some files but have found that it does not like wildcards like *.* Is anyone aware of another methods in c# for copying files using wildcards? Thanks Jon

0
votes
1 answers

Class Instantiation Question

Example: *** using System; namespace Mycode { class FirstClass { static void main() { FirstClass FC = new FirstClass(); //Why do this? DoOtherStuff(); } } } *** I have been playing ...

0
votes
1 answers

GUID?

I'm working on an application that uses DirectX and apparently I need a GUID for my application. I have a few examples and they use a GUID that seems totally arbitrary. It seems to me that a Globally UNIQUE IDentifier shouldn't be arb ...

0
votes
1 answers

typedef in C#

Is there an equivalent to C++'s typedef in C#? Thanks Jon

0
votes
1 answers

Setting Date and Time

Hi, Anyone know if the Framework has methods to set the system date and time? Thanks Jon

0
votes
1 answers

How to Stop VS.NET from screwing with my code?

Can anyone tell me if it's possible to get VS.NET to stop auto fomatting my html code? It doesn't do a very good job and it screws me up constantly. Jon

0
votes
1 answers

Opinions

I'm working on a web site and like most it's based upon users accounts and has a database for backend storage. Since nearly every page will require user info I'm trolling for opinions on the best method for storing that user data as well ...

0
votes
1 answers

Strange IIS Issue

I know this isn't a C# question but since more then half of the questions here are dealing with Web apps I thought someone might be able to help. I have an application that runs on the local machine. It's displaying some images but for ...

Feedback