Solved

DB Records displayed on WinForm

Posted on 2010-11-27
5
214 Views
Last Modified: 2014-06-16
I have created a program for a local township - the program was upgraded from a legacy Access application and it now runs with a .NET exe and SQL backend.  The program allows the city to issue 'burn permits'

My problem is that they want to view all 'active permits' in a new window.  The legacy access system used a form with sub forms to display as shown in the picture, with easy access to click a button to open the specific record.  

How can I mimic this behavior with VB.NET, creating a scrollable list of active permits, with a button to open the permit.  


active.gif
0
Comment
Question by:DavidRayRobinson
[X]
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
  • 2
5 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34223141
You can use a datagridview but I dont think you can replicate this behaviour. You can also use a repeater control.
0
 

Author Comment

by:DavidRayRobinson
ID: 34223202
Can a form be contained within a container object - a panel, or another form?  

I could create one form the would represent one listing, then instantiate that one form multiple times for each active permit.  But, how could I 'stack' these forms into a scrollable view?  
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34223216
Instead of a form, use a repeater and use labels and a button. The repeater would then repeat for each record.

http://blogs.msdn.com/b/vsdata/archive/2009/08/12/datarepeater-control-for-windows-forms.aspx

Or use one of these free components

http://www.quantumsoftware.com.au/Products/WindowsFormsComponents.aspx

http://www.codeproject.com/KB/cpp/CustomContainerControl.aspx
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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

749 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