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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

786 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