SQLDataCompare API examples - Composite Formatting ?

Forum for users of SQL Toolkit 3,4,and 5

SQLDataCompare API examples - Composite Formatting ?

Postby jimboh » Tue Apr 01, 2008 11:51 am

Can someone explain the purpose and meaning of the \\t used in the formating used in the examples (like Console.WriteLine("{0}\\t{1}\\t{2}\\t{3}",field.Field(false).Name, value1.ToString(),row.FieldDifferent(i)?"<>":"==", value2.ToString());)

I just cant find any .net help doco to explain this ...
jimboh
 
Posts: 17
Joined: Mon Jan 29, 2007 12:23 pm
Location: Melbourne Australia

Postby Brian Donahue » Tue Apr 01, 2008 12:52 pm

Hi,

\\t is a standard escape character which will 'print' a TAB to the console. There is information on the Internet about these if you search for 'C Escape Characters', for instance, this web page.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby jimboh » Tue Apr 01, 2008 1:03 pm

very helpful link ...

thanks

Jimbo
jimboh
 
Posts: 17
Joined: Mon Jan 29, 2007 12:23 pm
Location: Melbourne Australia


Return to SQL Toolkit Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests