hi...let say in my program..there's 2 windows, the login page and the main page...when user login from the main page with username "david"...i want those textboxes in the main page to display only david's data..
-my main page is using databinding method to link to those textboxes
-somewhere in my userDataset...it allows me to type the SQL statement.
there, i tried to type in something like
SELECT columnname1, columnname2FROM tablename Where (username =' & frmLogin.txtUsername.text & ')
but it fails to load the data....am i on the right track????...how do i solve my problem???
- i need to capture the txtUsername.text from the login page for my sql statement ...is that possible?????????
here i upload a zip file contains a sample from my real project..please have a look.
-my main page is using databinding method to link to those textboxes
-somewhere in my userDataset...it allows me to type the SQL statement.
there, i tried to type in something like
SELECT columnname1, columnname2FROM tablename Where (username =' & frmLogin.txtUsername.text & ')
but it fails to load the data....am i on the right track????...how do i solve my problem???
- i need to capture the txtUsername.text from the login page for my sql statement ...is that possible?????????
here i upload a zip file contains a sample from my real project..please have a look.
Attachments
Last edited by a moderator: