How to write a statement in several line?
C#
4
Posts
4
Posters
0
Views
1
Watching
-
There is string in the statement. For example, SQL statement in C#. strSQL="Select * " " from TB1";
-
There is string in the statement. For example, SQL statement in C#. strSQL="Select * " " from TB1";
strSQL = @"Select * from TB1"; works as well. It's useful for putting long formatted strings in code.