Solved

How do I get data from a DetailsView in ASP.Net 2, to use in a VB sub or function?

Posted on 2009-04-02
3
235 Views
Last Modified: 2013-12-25
I have a DetailsView in a web page and I want to take the data from the DetailsView to process the information in a Visual Basic sub.
0
Comment
Question by:jbotts
  • 2
3 Comments
 
LVL 8

Expert Comment

by:Faheem Shaikh
ID: 24057495
0
 

Author Comment

by:jbotts
ID: 24059486
The recommended link does not answer my question. A great link, but it does not demonstrate how to have access to the displayed data in VB, as for a Button_Click event.
0
 

Accepted Solution

by:
jbotts earned 0 total points
ID: 24072084
Was able to solve this one myself:
DetailsView1.Rows.Item(8).Cells(1).Text gave me access to the data in the DetailsView1.
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now