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

Search:

Type: Posts; User: timewaster

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,179

    SqlServer 2008 with Full-Text search

    I am using SqlServer 2008 with the Full-Text search.

    After I insert a row into a table that is setup with full text search, i need to wait for some unspecified amount of time after the insert...
  2. Replies
    8
    Views
    3,559

    Re: DateTime.ToString()

    how do i dump the cultureInfo info? what is the C# .NET class/method to do this?
  3. Replies
    8
    Views
    3,559

    Re: DateTime.ToString()

    this is exactly what i did.
    but i was curious if the default is tied to the user or by machine.
  4. Replies
    8
    Views
    3,559

    DateTime.ToString()

    I am using the C# .NET Datetime class DateTime and taking the default when converting to a string DateTime.ToString().

    When i run it under a user i get the U.S. format - month then day, but when i...
  5. Replies
    1
    Views
    791

    2-way dictionary

    I need a collection class that can lookup by both key and value

    i.e.

    ColA ColB
    X 1
    Y 2
    Z 3

    table.LookupByKey[X] should return 1
  6. Replies
    2
    Views
    2,314

    finding files by creation date in C#/.NET

    I need to write a simple script/application that will search thru a directory and delete any files older than X number of days. This is very easy to do with the UNIX find command.

    What is the...
  7. Thread: XML parsing

    by timewaster
    Replies
    2
    Views
    808

    XML parsing

    I have the following XML document:

    <?xml version="1.0" encoding="utf-8" ?>
    <RestrictionExemptionMap>
    <RestrictionExemptionRecord>
    <Delay1 type="xs:boolean">true</Delay1>
    <Delay2...
  8. Replies
    10
    Views
    21,120

    Re: converting nullable DateTime to non-null

    Thanks!
    That's exactly what I needed.
    Can't believe how simple that was.
  9. Replies
    10
    Views
    21,120

    Re: converting nullable DateTime to non-null

    it doesn't even compile.
    you cannot convert a nullable type to a non-nullable type.
  10. Replies
    10
    Views
    21,120

    Re: converting nullable DateTime to non-null

    forgot to add revDate is passed in as a parameter and contains a date value.
  11. Replies
    10
    Views
    21,120

    converting nullable DateTime to non-null

    I'm trying to convert nullable DateTime to non-nullable DateTime with the following code:

    DateTime? revDate;
    NullableConverter nc = new NullableConverter(typeof(DateTime?));

    DateTime...
  12. Replies
    5
    Views
    2,035

    question mark after a type?

    I've seen some code with a question mark after a type in C#

    i.e... decimal? var1

    what is the meaning of the question mark?
  13. Replies
    5
    Views
    1,100

    Re: design pattern problem

    But then how would you initialize the list?
  14. Replies
    5
    Views
    1,100

    design pattern problem

    This isn't really a C# problem, but more of a design pattern problem.
    I have the following abstract class..

    abstract class SeriesOperator
    {
    private int _precedence;

    ...
  15. Replies
    3
    Views
    1,105

    C#/.NET arithmetic parser

    Hi,

    I have a string which I need to parse into a tree structure. With each node containing the operand and the left and right child containing a variable.

    i.e input - (str1 - str2)*str3 should...
  16. Replies
    1
    Views
    1,466

    why is this XML not validating?

    Have the following XSD:

    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org/mytypes" xmlns:tns="http://example.org/mytypes">
    ...
  17. Re: Adding fields into a Tibco message with generic Types?

    no, I need to preserve the original type.
    You can get the type of the object with the GetType(), but is there a way to cast it dynamically with the GetType()?
  18. Re: Adding fields into a Tibco message with generic Types?

    That would mean that I would need alot of overloaded functions.
    1 per type which I am trying to avoid.
    I tried using generics but that did not work.
  19. Adding fields into a Tibco message with generic Types?

    Hi,
    I'm new to C#
    I'm using C# with .NET 2.0
    I am writing a method to add any data type into a Tibco RV message.
    I have the following code below.
    Is there a way to avoid this huge case...
Results 1 to 19 of 19





Click Here to Expand Forum to Full Width

Featured