I have 2 Hyperlinks(SAP and OS) on one Page and a Gridview on another page.
When HyperLink(SAP) is clicked,onto the next page a panel with 3 text boxes and SEARCH button appears. after clicking SEARCH button i want to display data of SAP table(user_id,Descriptio,sap_system_password) in Gridview.
When Hyperlink(OS) is clicked,onto the next page a panel with 2 text boxes and SEARCH button appears. after clicking SEARCH button i want to display data of OS table(user_id,Descriptio,os_system_password) in the same Gridview.
The Gridview has 4 columns(UserID,Description,Password,Change Password)
SAP table contains fields as(sid,client_no,user_id,sap_system_password,description)
OS table contains fields as(user_id,ip,host_name,os_system_password,description)
How to do this? Please help..
Loading
Abhijit baruaRank #3,722 · 397 reputationPosted Jun 4, 2012, 4:10 AM EDT
i take 2 table like this SAP(user_id,pwd), os(user_id,pwd)
aspx page like below
.cs page
u get attachment where i give code and table script....i have not get your code...i hope this will work...
Abhijit baruaRank #3,722 · 397 reputationPosted Jun 1, 2012, 11:01 PM EDT
Abumiyan Muqri43 reputationPosted Jun 3, 2012, 9:30 PM EDT
and also how to write conditions in that...
Abhijit baruaRank #3,722 · 397 reputationPosted Jun 3, 2012, 11:57 PM EDT
Like this you can find control of that gridview. now based on condition make control visible false.
Abumiyan Muqri43 reputationPosted Jun 4, 2012, 1:31 AM EDT
I want to display only four columns in Gridview(User ID, Description, Password, Change Password).
But if search button of SAP is clicked then data of SAP table should be displayed and if search button of OS is clicked then data of OS table should be displayed.
Now tel me what changes i need to do in my code..
Abumiyan Muqri43 reputationPosted Jun 4, 2012, 10:35 PM EDT
Abhijit baruaRank #3,722 · 397 reputationPosted Jun 5, 2012, 12:03 AM EDT
at that page check session value and bind.
Abumiyan Muqri43 reputationPosted Jun 5, 2012, 1:39 AM EDT
Thanks buddy...:):)
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts