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 baruaPosted Jun 4, 2012, 8:10 AM
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...
Abumiyan MuqriPosted Jun 5, 2012, 5:39 AM
Thanks buddy...:):)
Abhijit baruaPosted Jun 5, 2012, 4:03 AM
at that page check session value and bind.
Abumiyan MuqriPosted Jun 5, 2012, 2:35 AM
Abumiyan MuqriPosted Jun 4, 2012, 5:31 AM
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..
Abhijit baruaPosted Jun 4, 2012, 3:57 AM
Like this you can find control of that gridview. now based on condition make control visible false.
Abumiyan MuqriPosted Jun 4, 2012, 1:30 AM
and also how to write conditions in that...
Abhijit baruaPosted Jun 2, 2012, 3:01 AM