Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
237 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

856 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