Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

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

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
jbotts
Asked:
jbotts
  • 2
1 Solution
 
Faheem ShaikhCommented:
0
 
jbottsAuthor Commented:
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
 
jbottsAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now