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.
Web サイトにログインしたユーザーのデータに、ログイン時に次のページにアクセスしたいのですが、そのために asp.net Web サイト ツールを使用していません。私の問題の解決策を見つけるのを手伝ってください.....
使用したいのはセッション変数です。これは、1 つの変数でページ間でデータを使用する最も簡単な方法です。次のようになります。
Session("pstrLogin") = txtUername.text
別のページでアクセスします。
strName = Session("pstrLogin").ToString()
これがあなたが望んでいたものであることを願っています。