Click here to Skip to main content
13,193,770 members (40,873 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i am trying to get the value of a field in crystal report while clicking a row. I can access the first or second or any other row by
string accode = rpt.Rows[1][0].ToString();
or providing the row index. My problem is how can i get the row index of the currently selected row or clicked row in the report. ie something like
string accode = rpt.Rows[clicked_row_index][1].ToString();

Is there any idea to get the clicked row's index? I searched on Google but nothing found. Waiting for your reply. Thanks in advance.
Posted 15-Mar-12 0:54am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171018.2 | Last Updated 15 Mar 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100