Hi,
I have a form which is showing user login details when we select user name, particular date.in my code the details are coming same for all users.My requirement is when i select user name & date, that particular user login's only have to come.
Thanks in advance......

Abhishek KumarRank #510 · 4.8K reputationPosted May 14, 2014, 4:31 AM EDT
You need to pass username and date as parameter to retrieve data for that particular use.
@UserName varchar(50)
@SelectedDate datetime
Select UserDeatail from tableXXX where userxxx=@UserName and dateXXX=@SelectedDate
Hope this will help.
Thanks.
Gopi ChandRank #262 · 9.6K reputationPosted May 14, 2014, 5:35 AM EDT