Hello. I wonder if it's possible to create ASP.NET projects in Visual Studio 2003 without IIS, under Windows 2000 Professional. Is there any other alternative?
Regards, Diego F.
Hello. I wonder if it's possible to create ASP.NET projects in Visual Studio 2003 without IIS, under Windows 2000 Professional. Is there any other alternative?
Regards, Diego F.
I was sure it was simple, but is soooo simple that I'm feeling embarrased :doh:
Regards, Diego F.
I found other way to get that without the format method. I used the Padleft method and I get the same :)
Regards, Diego F.
Hello, I'm not sure about how to customize formats in strings. I.e, I want a string that is an integer number, but with some zeros at the beginning to have a certain length. So, if I have an integer value: i = 1, I want to convert it to string so it gets: "000001", with length 6. I'm trying with i.ToString(), trying to guess which format to put to achieve that. Do you know the solution?
Regards, Diego F.
Well, as I tested, the problem is having as a nested element inside and inside I can't change the file structure. Can you tell me other way to do that?
Regards, Diego F.
I detail a bit the file structure. ... ... ... As you see, inside record section I have two posibilities. I can have just one data or a composite section, that contains more than one data sections. Inside data, there are different possibilities also. Is that structure a problem to load the file? Regards, Diego F.
Hello. I'm newbie in working with xml files. I need to load a xml file to a datatable. First thing I saw is the dataset.ReadXml method, but I get an exception: The same table (mSCAddress) cannot be the child table in two nested relations. The nesting level is quite deep, and later I have to move throw the structure to create a datatable with some relevant data. I don't know where to start.
Regards, Diego F.
Hello. In Visual Studio 2005, there is a Stop method that you can call from any method to stop the service. That is useful in case something went wrong. I see that in Visual Studio 2003, that method doesn't exist. How can I then stop the service from code?
Regards, Diego F.
Hello. I have an application in VS 2005 that I must migrate to VS 2003 (what a great upgrade is 2005 btw), and I see that there is no dataset.CreateDataReader method. Is there other way to do that? Do you know from other implementation I can find anywhere?
Regards, Diego F.
Hello. I'm migrating an application that connects to a remote machine. Before it used sockets, and now a web service. I'm not sure about how to control the time to wait for a response. I'm looking for a kind of timer that waits some time and if it has no response, throws an exception. How can I do that?
Regards, Diego F.
Yes! Thank you a lot!
Regards, Diego F.
What I need is that: select1: options A and B select2: options A and B Select1 is set to A --> Select2 is set to B Select1 is set to B --> Select2 is set to A Select2 is set to A --> Select1 is set to B Select2 is set to B --> Select1 is set to A Maybe the above explanation wasn't clear enough.
Regards, Diego F.
Thank you, but I'm not sure if that is what I need. I find examples from one select loading another select. But I have two select that have the same two options, and any of them can be selected, so the other takes the other value.
Regards, Diego F.
Hello. I'm not sure about how to do that. It seems simple. I have two elements that have two excluding values, A and B. What I need is that if I select A option in one, B is set in the other, and if I set B, the other is set with A. How can I do that? Regards, Diego F.
The good atmosphere and team spirit is very important in a job. Other things can change. And if you know the place and you get a lot of money. Where is the doubt?
Regards, Diego F.
Thank you for your ideas. What method do you think is better when there are many threads?
Regards, Diego F.
Well, in my case, I don't mind to block the main thread. The help of ThreadPool is that I need to run a method many times (let's say hundreds), and if I can run it separately, I would think that it saves time. Am I wrong? Other way, you are rigth. It has no sense the use of threading.
Regards, Diego F.
I'd like to know if there is any mechanism to know where the threads that ThreadPool object manages, are finished. The idea is having a loop that calls the ThreadPool to execute some method, and then block that main thread until all threads are finished. Is that possible?
Regards, Diego F.
Could you try that basic sample so I see what is the result? First create that table: CREATE TABLE TB_TEST ( ID NUMBER(2, 0) NOT NULL, DATEFIELD DATE , CONSTRAINT TB_TEST_PK PRIMARY KEY ( ID ) ) Now, I insert a register: insert into tb_test values (1, sysdate) commit; And then, the select query: select (sysdate-datefield) from tb_test where id=1 What is the result?
Regards, Diego F.
I have a problem substracting dates in Oracle. I tested the following: Create a new table with a date field Insert a register using sysdate Then a select (sysdate - dateField) doesn't return 0 as expected. In the SQL Developer it returns an empty field. How can I solve that? Sometimes, maybe depending on the time difference, it works and returns a value (really, I need (sysdate - datefield) * 24*60*60
Regards, Diego F.