473,788 Members | 2,837 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to find each cell value of a column in a gridview

28 New Member
hi,

iam doing one asp.net application

in gridview i have 3 columns.

the first two column values are coming from database.

the third column is template field.here i have one radiobuttonlist control.i have two
options in radiobuttonlist .

for example


Employee dept attandance

bharathi finance a p (here iam selecting p)

vijaya ,, a p (p)

silpa ,, a p (p)

sandhya ,, a p (a)


here i want to put each employee attendance status is in session variable and pass it
to another page.from next page to pass it to crystal report.

so any one tell me how to find the each cell value of a particular column and store it into a session variable
Dec 18 '08 #1
3 5087
bharathi228
28 New Member
hi,

iam doing one asp.net application

in gridview i have 3 columns.

the first two column values are coming from database.

the third column is template field.here i have one radiobuttonlist control.i have two
options in radiobuttonlist .

for example


Employee dept attandance

bharathi finance a p (here iam selecting p)

vijaya ,, a p (p)

silpa ,, a p (p)

sandhya ,, a p (a)


here i want to put each employee attendance status is in session variable and pass it
to another page.from next page to pass it to crystal report.

so any one tell me how to find the each cell value of a particular column and store it into a session variable
Dec 18 '08 #2
Frinavale
9,735 Recognized Expert Moderator Expert
Pass your information between pages using Session or Cookies...or you could use Server.Transfer (just make sure you understand how this works before you use it).

Check out article on How to pass parameters to crystal reports for more information on crystal reports.

-Frinny
Dec 18 '08 #3
Frinavale
9,735 Recognized Expert Moderator Expert
Please do not double post your question. It makes it hard for people to give you an answer and hard for you to find an answer to your question. I have merged your question into one thread.

-Moderator Frinny
Dec 18 '08 #4

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

Similar topics

2
12360
by: Michael | last post by:
Need some help trying to read values from web controls - specifically *finding* the controls (like a drop down list) - that are added dynamically added within an asp:panel control. The page contains multiple panels within the form. The panels appear at different times - for our argument, let's say panel 1 appears first, users clicks a submit button and then panel 1 disappears and panel 2 appears, etc. When clicks on the submit button...
8
14782
by: graphicsxp | last post by:
Hi, How can I get the value of a cell that belongs to a hidden column of gridview ? Here's how I normally access the value of a cell, but it doesn't work if the column is invisible: Code : Me.grdPublication.SelectedRow.Cells(1).Text I've used a gridview with auto-generated columns to false, so I can
1
27504
by: K B | last post by:
I would like to create a gridview as below: Project Name 1-1 1-2 1-3 1-4 1-5 1-6 Project 1 BLUE BLUE BLUE BLUE GREEN GREEN more projects I would like to fill the cell with a solid color based on the value of the cell (e.g., documents that are complete (blue) or not complete (green). In effect have a solid bar indicator going across each row. I know how to color the cell based on the value, but not the click...
5
4046
by: LamSoft | last post by:
If there is a table(2x2) generated from the gridview as below checkbox-1 mytest-1 mytest-2 checkbox-1 mytest-3 mytest-3 I know how to check that two checkbox are checked or not, but how to get the value of other column at the same row while in the for-loop statement. for (int i = 0; i < gridSearchResult.Rows.Count; i++) {
4
5915
by: pvong | last post by:
Hi, I'm a newbie and I'm looking for some help. I'm programming in VB.Net. I have a simple gridview and when the user hits the Edit link, the gridview changes to edit mode. I replaced the Textboxes with labels and I turn off the Update command because I want to write my own update command. I can not figure out how to pull the value from a cell in the row the user hit Edit on. Example: User hits edit on row 10 and the value I want to...
2
5491
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi, I can return the rowindex using SelectedRow or SelectedIndex But, how do I get my code to return the cell or column index of a selected row in my gridview? thanx -- Regards,
3
3311
by: Bill Gower | last post by:
I have an cell which contains a field member which is filled with String.Empty. When I retrieve the value in the cell with Cells.Text.ToString() and try to compare it to String.Empty, I can't because it contains "&nbsp". I really don't want to compare the value to that so how can I retrieve an empty cell so that it is String.Empty. Bill
10
7980
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
I understand how to connect a SqlDataSource to a GridView and have a nice data-connected, paginated web page generated with virtually no coding. Starting from that base, I would like to add an extra column to the GridView and do two things: for each row, based on the value of another column, insert a string in the new column cell and set the background color of the new column cell. Suggested approaches would be appreciated.
0
1569
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, I need to have a column in a gridview that cycles through a set of comma delimited values i.e. if you imagine a column where in one row the value might be "111,222" and in the next row it might be "111,222,333,444". Instead of displaying the whole string, I need to split the string by the comma delimeter and show each value long enough so that every value will be
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10112
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
8993
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
7518
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
5399
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
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2894
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.