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......
Gopi ChandPosted May 14, 2014, 9:35 AM
Abhishek KumarPosted May 14, 2014, 8:31 AM
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.