|
Browse by Tags
All Tags » Visual Basic » Translation ( RSS)
-
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
-
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)
|
|
|