Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
クエリ文字列の結果を保存しようとしています
q = "select count(*) from test" (asp.net c#)
ボタンクリック時にラベルにカウントを表示できるように、文字列変数で。
int RecordCount; RecordCount = Convert.ToInt32(cmd.ExecuteScalar()); string myString = RecordCount.ToString();