查询字符串 [英] query strings

查看:87
本文介绍了查询字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好..


我正在尝试为课程完成一个项目而且有点卡住了。

我有一个登录页面,当提交到成员页面。

我想从登录页面(登录表)将主键(CustID)带到成员页面(Customers表),然后使用此主键(CustID)显示来自文本框中客户表的数据。

我知道如何使用存储过程在文本框中显示数据,但

我希望数据已经存在当用户到达会员页面时,在这些文本框中。


希望这不会让人感到困惑..

我搜索了高低的线索,但似乎无法看到找到任何!!

我在asp.net 1.1的C#代码中这样做


任何线索/提示都会很棒...


Jodi

Hi anyone..

I am trying to complete a project for class and am a bit stuck.
I have a login page, which when submitted goes to a members page.
I want to take the primary key (CustID) from the login page (login Table) to the members page(Customers table), then use this primary key (CustID) to display data from the Customers Table in textboxes.
I know how to display the data in the text boxes using a stored procedure, but
I want the data to be already in these textboxes when the user gets to the members page.

Hope this is not confusing..
I have searched high and low for clues but cant seem to find any!!
I am doing it in C# code in asp.net 1.1

any clues/hints would be fantastic...

Jodi

推荐答案

欢迎访问该网站。所以你想将primaryid发布到第二页并使用它来查询成员信息?
Welcome to the site. So you want to post the primaryid to the second page and use that to query the member info?


你的代码填充文本框应该放在.aspx页面的Page_Load事件过程中。
your code to fill the text boxes should be placed in the .aspx pages Page_Load event procedure.



欢迎访问该网站。所以你想将primaryid发布到第二页并使用它来查询成员信息?
Welcome to the site. So you want to post the primaryid to the second page and use that to query the member info?



你好,是的,这正是我想做的事。

我想我差不多了..你要我展示吗?你我的代码??

Hi there, yes thats exactly what I want to do.
I think I nearly have it.. do you want me to show you my code??


这篇关于查询字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆