vb.netをC#に変換しようとしていますが、エラーが発生しています。現時点では、私は次のエラーを取得しています:VB.NETからC#に変換する際の問題
The name 'Strings' does not exist in the current context
問題行は次のようになります。なぜこれが起こっている
strUser = Strings.LCase(Strings.Trim(strUserInitials[strUserInitials.GetUpperBound(0)])).ToString();
誰でも知っていますか?
は、私は、次の名前空間が設定されている:私は、Webサービス(ASMXファイル)に取り組んでいます
using System;
using System.Web;
using System.Web.Services;
using System.Web.Script;
using System.Web.Script.Services;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
。