代表@后的內容完全按照字符串處理..不進行轉義等操作..可以防止換行后C#報錯,正則表達式的時候用的比較多.
string sql = @"select stu.Id as StudentId,stu.Name,ses.SchoolId,ses.CategoryId,ses.MajorId,ses.KechengId,ses.ExamNo,
ses.StudentId,SignYear,SignMonth,ses.Remark,ses.SignType from " + dbNamecycrm + @"StudentExamSign ses
left join " + dbNamecyweb + @"UserInfo stu on stu.Id=ses.StudentId
where ses.Flag>0 and ses.Id=" + id;
