Javaでいうところの instanceof は as string で行う。 string userName = ds.Tables[0].Rows[i]["user_name"] as string; if (userName != null) { abbr.Append(userName); } 以上。
Javaでいうところの instanceof は as string で行う。 string userName = ds.Tables[0].Rows[i]["user_name"] as string; if (userName != null) { abbr.Append(userName); } 以上。