473,326 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Programming questions on Geography Items Configuration

hi, I've some requirements about the data,
Nations->States->Cities->Counties, four level.

I want to give a friendly UI to customer, but I wasn't satisfied with all
that I thought out, can anybody give me some idea ?

here I list my ideas:
1) each level has one seperate page, the first three has hyperlink to its
child

2) 4 datagrids in 1 page, Master->secondMaster->thirdMaster->Detail, the
performance may be a problem

3) 4 in one datagrid, all the data is stored in one table, with parent
field to be used for refreshing datasource of the datagrid.

looking forward to the first answer, thanks in advance.

Edward

Nov 18 '05 #1
1 1037
Edward,

Look at Master-Detail usage in datagrids. You'll need a primary key with
foreign keys from its related tables in your dataset, which would contain
the 4 tables with relationships setup. Easiest way for you to find a
solution is to Google "datagrid master detail". Lots of examples and code
out there.

HTH,

Raymond Lewallen

"Edward" <zi***@citiz.net> wrote in message
news:Os**************@TK2MSFTNGP10.phx.gbl...
hi, I've some requirements about the data,
Nations->States->Cities->Counties, four level.

I want to give a friendly UI to customer, but I wasn't satisfied with all
that I thought out, can anybody give me some idea ?

here I list my ideas:
1) each level has one seperate page, the first three has hyperlink to its
child

2) 4 datagrids in 1 page, Master->secondMaster->thirdMaster->Detail, the
performance may be a problem

3) 4 in one datagrid, all the data is stored in one table, with parent
field to be used for refreshing datasource of the datagrid.

looking forward to the first answer, thanks in advance.

Edward

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Marta | last post by:
Hi all! I would to study a web programming language to create a PHP script (output.php) that, given the following input page (input.htm) where the user select the weight and volume of a package...
22
by: omar khan | last post by:
Any books that helped you progress in C programming? Where do you begin with C programming? Can you recommend any websites? How many months or years did it take you to become knowledge to...
0
by: Henry | last post by:
Using ideas provided by some of you I was able to figure out how to get the names of the parameters fields of a crystal report specified at run time. The code below just basically puts the...
2
by: Edward | last post by:
Hello, everybody, I tried to send Email out using ASP.NET, but failed, here is the code of sending: -------------------------------------------------------------------------------- Try...
4
by: DaveFash | last post by:
ASP.NET Screens look different in IE, FireFox, and Netscape. How can one ensure some consistentcy? Is there a technique? The main issue is a plain vanilla HTML screen with radio-buttons, a...
1
by: shuijiaojiaozhu | last post by:
1. How can I implement such a requirement? |----| | | <----//<select> like table of item chosen | | |----| requirements: 1) Menu1 and menu2 are associated. For example, menu1...
111
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks...
5
by: jcolino | last post by:
Hi, I usually get stuck with one of two questions that keep coming up. Perhaps some of you brilliant people can shed some light... 1. How to do use if statements in load commands (I usually...
11
by: Ed Bitzer | last post by:
I have been able using the namespace System.Web.Mail and its method Smtp.mail.send to mail simple text messages to a small group within our 55 and older community. I need help expanding the...
0
AnuSumesh
by: AnuSumesh | last post by:
Hi All, I want to call RDP on Page load and it is working fine.My code is in C#. But I am unable to perform following functions 1. when i disconnected from RDP, i want to go back to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.