473,698 Members | 2,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to get grid last column value using c#

1 New Member
how to get grid last column value using c#
Oct 23 '13 #1
1 1578
Frinavale
9,735 Recognized Expert Moderator Expert
You could consider handling the GridView's RowDataBound Event and within that method hide/show the value in the last column.

-Frinny
Oct 23 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
6532
by: Pat | last post by:
All, What I want to do: ******************* Click on a hyperlink in the last column in a datagrid, have it grab a value in the fourth column in the same row and send it to the codehind into a function that will then put the value into a query and send it off the database.... and do some stuff with the return. What I have so far:
0
833
by: Hai Nguyen | last post by:
I have a datagrid. Now I want to add a new to column to the last column of the grid, how can i do that? I can add a new column but it adds to the front of the grid. Thanks for helping me
5
2002
by: Lars Netzel | last post by:
Is it possible to asign a default value to a cell in a DataGrid column when using TableStyle as well? I have an ID column with a width= 0 that has to have a default ID value when the user adds rows in the datagrid. /Lars
0
1242
by: Lucvdv | last post by:
Maybe a stupid question, but how can you widen the last column of a datagrid at runtime (i.e. with the mouse)? It won't let me. The grid is wider than the form it is on, maybe the presence of a scrollbar has an influence. With the scrollbar completely scrolled to the right, the last column ends at the right hand end of the grid. Trying to resize it, it won't let me move the mouse pointer to the right.
5
32025
by: Veeru71 | last post by:
Given a table with an identity column (GENERATED BY DEFAULT AS IDENTITY), is there any way to get the last generated value by DB2 for the identity column? I can't use identity_val_local() as the INSERTS are happening in a different session. Eg, We have the following table....
0
1161
by: Larry H | last post by:
I have a data grid in my C# Windows Form. All but the last column can be resized during program execution. If the resized column reaches the right edge of the grid control I can scroll horizontally and then continue resizing the desired column. The last column can be resized but only until the right edge of the column reaches the right edge of the grid control. A work around would be to add an empty column but I would like to know...
4
7244
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...
10
9809
by: TF | last post by:
Very newbie question and I hope this is the right group. I have a table on a web page which contains info about paint colors. One column contains the hex value for the color's RGB value. I want to display info from the table in a grid or table and use the column value from the RGBHex column to set each row's back ground color. I can just about do this in my sleep in old style ASP using <%%tags but I would like to implement it in .NET 2....
1
1225
by: spowel4 | last post by:
Is it possible to have a listview with multiple columns but only the last column is checked? In other words none of the other columns would have checkboxes.
1
2225
by: nitharsanb | last post by:
im displaying data in a grid view column...i want to get the value from that column by selecting particular column..! how can i do that...! please help me...!!
0
8611
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,...
0
8876
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
7741
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
6531
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
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
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
2341
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.