Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Diego F

@Diego F
About
Posts
116
Topics
51
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ASP.NET projects without IIS
    D 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.

    ASP.NET csharp asp-net visual-studio windows-admin question

  • How to customize strings with Format method?
    D Diego F

    I was sure it was simple, but is soooo simple that I'm feeling embarrased :doh:

    Regards, Diego F.

    C# tutorial question

  • How to customize strings with Format method?
    D 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.

    C# tutorial question

  • How to customize strings with Format method?
    D 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.

    C# tutorial question

  • How to load xml file to a datatable
    D 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.

    XML / XSL xml tutorial

  • How to load xml file to a datatable
    D 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.

    XML / XSL xml tutorial

  • How to load xml file to a datatable
    D 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.

    XML / XSL xml tutorial

  • How to stop a windows service in Visual Studio 2003
    D 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.

    C# question csharp visual-studio tutorial

  • CreateDataReader from DataSet in Visual Studio 2003
    D 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.

    C# visual-studio csharp question

  • Web Service timeout
    D 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.

    Visual Basic question tutorial

  • How to link two <select> elements?
    D Diego F

    Yes! Thank you a lot!

    Regards, Diego F.

    Web Development question tutorial

  • How to link two <select> elements?
    D 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.

    Web Development question tutorial

  • How to link two <select> elements?
    D 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.

    Web Development question tutorial

  • How to link two <select> elements?
    D 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.

    Web Development question tutorial

  • tough career choice
    D 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.

    Work Issues csharp java css collaboration career

  • ThreadPool. Any way to know when all threads finished?
    D Diego F

    Thank you for your ideas. What method do you think is better when there are many threads?

    Regards, Diego F.

    C# question

  • ThreadPool. Any way to know when all threads finished?
    D 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.

    C# question

  • ThreadPool. Any way to know when all threads finished?
    D 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.

    C# question

  • Substracting dates in Oracle
    D 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.

    Database question database oracle help

  • Substracting dates in Oracle
    D 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.

    Database question database oracle help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups