Jump to content

3 posts in this topic

Posted

Hi, I'm doing a bit of research before I delve into coding. The problem I have is that I want to retrieve data from a sql database (a single record at a time) and want to display the data on an asp.net webpage. I know I can use either a detailsview or a formview, the way I want to display the data is by using multiple controls, textboxs and a gridview.

What's the best method for the below screenshot.

Thanks for your help.

Share this post


Link to post
Share on other sites

Posted

first of all get one record at a time? that's not a very good practice. you better think of another strategy for that. another thing as you don't have that many fields. you can go with a formview as it will provide more customization than detailview as for my understanding of both components and also based on what you want to implement.

Share this post


Link to post
Share on other sites

Posted

What I'm trying to achieve is display data in an invoice format so one record will be displayed at a time. I won't be querying the database each time the next button is clicked rather a SQL adapter will be used for all SQL stuff.

I'll give formview a go.

Cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.