sql server-在反向数据期间连接c#.net项目中的两个表 [英] sql server-joing of two tables in c#.net project during retrive data

查看:62
本文介绍了sql server-在反向数据期间连接c#.net项目中的两个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个表一个表调用log其中我有d属性 - 用户名(主键)和密码。另一个表调用basic_Details 其中我有d属性用户名(主键),名称,年龄,contact_no ..

现在当我想使用dlog表登录表单时,d成功登录后d页将重定向到profile.aspx.i想要从basic_Details表中检索适当的数据...

我该怎么做????? plz回答..

Thnx提前..

i have two tables one table call "log" where i have d attribute- username(primary key) and password.and another table call "basic_Details" where i have d attribute username(primary key),name,age,contact_no..
now when i want to login into a form using d "log" tables,after d sucessfully login d page will b redirect into profile.aspx.i want to retrive d appropriate data from "basic_Details" table...
How can i do it?????plz answer..
Thnx in advance..

推荐答案

从表basic.details中检索用户详细信息,同时通过传递会话用户名或会话ID来加载profile.aspx页面。
retrive user details from table basic_details while profile.aspx page is loading by passing session username or Session id what you want to.


这篇关于sql server-在反向数据期间连接c#.net项目中的两个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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