SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Browse by Tags

All Tags » Visual Basic » Translation (RSS)
  • VB.Net Conversion to C#

    Conversion worked properly on sql = "SELECT t.doc_sheet_nbr as code,t.doc_title as description " + _ "FROM myschema.mydoc t " + _ "WHERE t.facility = '" + Facility + "' " + _ "AND t.document_type = 'DRAW' " + _ "AND t.document_sub_type = '" + DocSubType + "' " + _ "AND t.document_nbr = '" + DocNumber...
    Posted to Forum by mgillson on 03-27-2007
    Filed under: Translation, Visual Basic
  • Re: VB CInt() convert to C# is an int cast but should be Convert.ToInt()

    Recall the cast (int)( expr ) is the wrong answer for VB CInt( expr ) to C# -- i.e, should be Convert.ToInt32( expr ) . Still, to answer the question, the following types for expr can be specified for the explicit cast to int (more to come :-) ): (int)( long_expr ) (int)( ulong_expr ) (int)( float_expr...
    Posted to Forum by harrystein on 03-05-2008
    Filed under: Translation, Code conversion, Visual Basic, convert
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.