How to get current Selected Row in dataGridview and print using crystal report?
Print Only selected current row in data gridview
ranTHE
0
Newbie Poster
Recommended Answers
Jump to PostHow to get current Selected Row in dataGridview
try this :
Dim i As Integer = CInt(ListView1.SelectedItems(0).Index) TextBox1.Text = ListView1.Items(i).SubItems(0).Text TextBox2.Text = ListView1.Items(i).SubItems(1).Text
Jump to Post@Jx Man he said datagridview not listview bro
Jump to Posti have no idea with CR, but i can do that with ReportViewer from .NET itself, if you want it i will show you how to do that
All 12 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
artemix22
4
Newbie Poster
artemix22
4
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
ranTHE
0
Newbie Poster
artemix22
4
Newbie Poster
ranTHE
0
Newbie Poster
gtech73
0
Newbie Poster
artemix22
4
Newbie Poster
gtech73
0
Newbie Poster
Mamoundi
0
Newbie Poster
Mamoundi
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.