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
238 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

685 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