CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: hoppler

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    6,456

    Re: Multiple SQL connection strings

    Hi,

    do the IF/THEN for the string itself:


    string connectionString = null;
    if(SQL_Auth)
    {
    connectionString = String.Format("Data Source={0}; database={1}; User id={2}; Password={3};",...
  2. Replies
    3
    Views
    937

    Re: Weight loss programme

    Hi,

    the solution is easy. You need to replace the lines with ConvertTo


    Convert.ToDouble(cyclingTime / 60 * cyclingCalories);


    into
  3. Re: Ordering file containing exponential notations

    Hi,

    you could parse the line into a 3Tupel and addionally store the whole line as an extra property in the tupel. after sorting you just write the extra properties of all tupels back to the file....
  4. Replies
    1
    Views
    2,520

    Re: Read txt file into a Tuple

    Hi,

    here´s my approach



    class ThreeTupel
    {
    public double Value1 { get; set; }
    public double Value2 { get; set; }
  5. Replies
    5
    Views
    864

    Re: Loop within a loop

    Maybe this is was you´re lookin for:



    private static void Main(string[] args)
    {
    Run();
    }

    private static void Run()
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured