473,770 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

get value from hidden column

Tom
I have a gridView with a hidden column, I need to get that value from that
hidden column and pass it to another page.

is that possible if so how?

Jul 24 '06 #1
3 1302
There is an article on this page that shows how to do it.

http://www.netomatix.com/datagridseries.aspx

"Tom" <To*@discussion s.microsoft.com wrote in message
news:C7******** *************** ***********@mic rosoft.com...
>I have a gridView with a hidden column, I need to get that value from that
hidden column and pass it to another page.

is that possible if so how?
Jul 25 '06 #2
If you hide the column with css rule display:none, as opposed to setting
Visible property to false, you can access it as any other column.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]

"Tom" <To*@discussion s.microsoft.com wrote in message
news:C7******** *************** ***********@mic rosoft.com...
>I have a gridView with a hidden column, I need to get that value from that
hidden column and pass it to another page.

is that possible if so how?

Jul 25 '06 #3
Tom,
It depends, is this a bound datagrid?

-- WillCat
"Tom" <To*@discussion s.microsoft.com wrote in message
news:C7******** *************** ***********@mic rosoft.com...
>I have a gridView with a hidden column, I need to get that value from that
hidden column and pass it to another page.

is that possible if so how?

Jul 27 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3953
by: Hamster | last post by:
I need to display data like this: CompanyName1 Company | Date| Transactions Count -- headers CompanyName1 | Date| 1 -- data CompanyName2 | Date| 5 -- data CompanyName3 | Date| 2 -- data CompanyName4 | Date| 7 -- data
1
1767
by: David | last post by:
Hi, I have an ASP page with a form and the following code: ..... type=Radio Checked name=selectserial value=" & RS("PSL_F_Serial")..... Tis will carry over the value of RS("PSL_F_Serial"), but I also have another value which needs to be carried (2 values per radio button), RS("PSL_L_Serial").
3
16661
by: Cindi Simonson | last post by:
Hi, I have a form with a combo box containing 4 columns of data. The form also contains 3 print buttons where the goal is to open 3 different reports according to the value in one of the columns of the combo box. Since the bound column property determines which value to look at, how do I change the bound column's value in an onClick event?
7
2385
by: grummanf6f | last post by:
Hello Gurus, this probably is real simple for you but for me it's a bummer. I have one table in which I have basic data collected of schools. I have another data that is detailed info on the stuff they teach in the school. I have two forms for entering the data. The first, basic info table is already filled in. I would like my second entry form to show the name of the school as
2
4716
by: denvercr | last post by:
Hi guys, I'm having a problem on this a couple of days ago.. I did the best I could but I end up nothing. you guys are my last resort.. How could I possibly retrieve a value of a hidden column in gridview? The column that is hidden is the primary key for security issue.. Hope you could help me out of this guys.. thanks for your good heart.
4
7253
by: =?Utf-8?B?QmFidU1hbg==?= | last post by:
Hi, I have a GridView and a SqlDataSource controls on a page. The SqlDataSource object uses stored procedures to do the CRUD operations. The DataSource has three columns one of which - "Modified" of type DateTime - is hidden since it should not be edited by a user. The system handles the update for this column. So, I have hidden (Visible=false) this column on the grid. In order to access the value in this field, I have created a...
7
3240
by: turtle | last post by:
I want to find out the max value of a field on a report if the field is not hidden. I have formatting on the report and if the field doesn't meet a certain criteria then it is hidden. I want to get a max of the field for the ones that are not hidden. is this possible? TIA, KO
2
2235
by: chris | last post by:
I've created an ASP table which is dynamically populated and it has a hidden column at the end. The cell is marked as invisible but when I try and obtain the cell value in client side script (JavaScript) then the cell does not exist in the row's Cells collection. If I flag the cell as visible on creation then the cell value can be accessed by the client side script. Can someone help me out?
5
5480
by: montybytes | last post by:
Hi there, Although, I have already placed this question in the HTML/CSS section, perhaps it might be worthwhile asking the question here as well. I have a JavaScript function which retrieves the left-position of an Element. This JavaScript functions works in FF and IE7 but does not work in IE6, In IE6 it retrieves the wrong offsetLeft value. Having investigated the problem I noticed it had something to do with the margin-left and position...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.