|
|
Sergey Kornilov admin 9/27/2013 |
|
If CNIC_NO is a text field your SQL query should look like this: sql="SELECT CNIC_NO from LGCD_EMPLOYEES WHERE CNIC_NO='" & session("CNIC_NO") & "'" |
|
|
A
|
adnankmk author 10/2/2013 |
|
If CNIC_NO is a text field your SQL query should look like this: sql="SELECT CNIC_NO from LGCD_EMPLOYEES WHERE CNIC_NO='" & session("CNIC_NO") & "'"
|
|
|
|
Sergey Kornilov admin 10/2/2013 |
|
I guess you need to make sure that session("CNIC_NO") session variable is populated. It looks like this variable is empty. |
|
|
A
|
adnankmk author 10/21/2013 |
|
Thanks for replying. How should I populate the value to the session variable. Can you help me for solving this problem |
|
|
|
Sergey Kornilov admin 10/21/2013 |
|
Before using any session variable you need to assign some value to this variable. Where this it needs to bedone and how - greatly depends on details of your application. session("CNIC_NO")="Some value" |
|