分类
如何选择最好的外汇经纪商

如何在 Quotex 中存钱

APP端:如何在app抢涨跌停新币

혁신적인 블록체인 기술과 KOK의 떠오르는 디지털 콘텐츠 플랫폼이 함께한다면 놓칠 수 없는 미래투자의 기회 입니다.

KOK 사업 및 등록에 관심이 있으시면 문의가기 폼을 작성하시어 이메일로 如何在 Quotex 中存钱 보내주십시오.

- 메뉴얼 보고 따라 해 보세요 : ( 메뉴얼 보러 가기 )

𝗔𝗻𝗱𝗿𝗼𝗶𝗱: Google Play ➔ KOK PLAY 검색 如何在 Quotex 中存钱 ➔ 다운로드 및 설치

- 메뉴얼 보고 따라 해 보세요 : ( 메뉴얼 보러 가기 )

- 국가번호 선택 ➔ 전화번호 입력 ➔ 인증 ➔ SMS로 받은 번호 입력

- 생년월일을 YYMMDD로 입력 (예: 1985년 1월 23일 ➔ 850123)

- 추천인 코드 : TOPWRZMK 를 입력하세요.

- 후원자 코드: TOPWRZMK 를 입력하세요.

- 약관에 동의하고 다음을 선택합니다.

- 메뉴얼 보고 따라 해 보세요 : ( 메뉴얼 보러 가기 )

* 무료회원 가입 하시게 되면 추천 한사람과 추천 받은사람 모두 $ 100 상당의 마일리지를 지급 합니다.
(마일리지 - $100상당의 채굴권)

Insert Link

👍 1 reacted with thumbs up emoji 👎 1 reacted with thumbs down emoji 😄 1 reacted with laugh 如何在 Quotex 中存钱 emoji 🎉 1 reacted with hooray emoji 😕 1 reacted with confused emoji ❤️ 1 reacted with heart emoji 🚀 1 reacted with rocket emoji 👀 1 reacted with eyes emoji

如何在 Quotex 中存钱

WEB页面代码裡

myus为null

public Users adminLogin(Users users)

using (DataClassesDataContext dataCC = new DataClassesDataContext())

Users myus = new Users(); //myus.LoginId和myus.LoginPwd这边应该是空字符串
var result = from u in dataCC.Users where myus.LoginId == users.LoginId && myus.LoginPwd == users.LoginPwd select u;
Users returnUser = null;
foreach (Users item in result)

myus.UserRoles = new UserRoles();
myus.UserRoles.Id = Convert.ToInt32(item.UserRoleId);
returnUser = myus;
break;
>
return returnUser; 如何在 Quotex 中存钱
>
>

  • เสนอเป็นคำตอบโดย Jackie-Sun Moderator 1 กันยายน 2554 6:41
  • ทำเครื่องหมายเป็นคำตอบโดย 冯瑞涛 Moderator 24 กันยายน 2554 1:48

ตอบทั้งหมด

授权是你的业务逻辑,怎么放在DAL了? The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP

授权是你的业务逻辑,怎么放在DAL了? The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP


有可能我描述不太正确,下面是DAL层中UserService.cs 的一个ADO.NET登录方法,我的意思是,怎么用LINQ写这样的一个方法

public User adminLogin(User user)
string sql = "select UserRoleId from dbo.Users where [email protected] and [email protected]";
using (SqlConnection conn = new SqlConnection(MyBook))
SqlCommand com = new SqlCommand(sql, conn);
com.Parameters.Add("@LoginId", SqlDbType.NVarChar).Value = user.LoginId;
com.Parameters.Add("@LoginPwd", SqlDbType.NVarChar).Value = user.LoginPwd;
conn.Open();
using (SqlDataReader dr = com.ExecuteReader())
if (dr.Read())
User u = new User();
u.userRole = new UserRole();
u.userRole.Id = Convert.ToInt32(dr["UserRoleId"]);
return u;
>
else
return null;
>
>