Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9130039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:53:00+00:00 2026-06-17T07:53:00+00:00

The question is quite simple, the answer may not be. Basically, in my application

  • 0

The question is quite simple, the answer may not be.
Basically, in my application I’ve got a dataset in memory. This dataset has some dataTables and some dataRelations.
I would like to allow an end-user to ADD a datatable that is the result of a query. The user should also be able to specify one (or maybe more) relation between his datatable and the default ones. He should not be able to delete or modify the original dataset.

This is an image showing how the control should work:
Dataset editor

The ability to delete/modify relations or delete/modify a datatable in a visual way is not required. A wizard, like the one below, is enough:
Datatable editor
(source: devart.com)

Relation editor

The images come from this page:
http://www.devart.com/dotconnect/mysql/docs/DataSetEditor.html

Create my own control from scratch is surely not trivial, so I’m looking for something that’s ready to use (or easy to modify). If you have ever used the Visual Studio DataSet Designer you should understand what I’m looking for. In fact, I would like a control similar to the DataSet Designer, but with the ability to "lock" some datatables and datarelations and with the ability to add an editable datatable based on a query result.

Ask for more information if it’s not clear enough.
Thank you.

EDIT: of course, the default dataset is not the result of a query. In this case, I could allow the end-user to edit the original query adding join, union or so on. The dataset I provide is the result of an elaboration, so it "lives" only in memory. Maybe, I could save this in a temp table inside the db. Anyway, before explore this solutions it would be better to have a visual tool instead of a query editor…

EDIT2: surfing the web I found this SQL tool: http://www.atlantis-interactive.co.uk/products/schemasurf/default.aspx. What I’m looking for is similar, but should be a WinForm control. It should accept any type of dataset, not only SQL.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:53:01+00:00Added an answer on June 17, 2026 at 7:53 am

    It seems there’s not such a control available on the web. I’ve created my own editor, most in textual way. For tables descriptions I used a TreeList. The same I’ve done for the relations descriptions. I haven’t used any special editor for SQL. For now, I just checked that the text starts with “SELECT “.

    To transform any IEnumerable in DataTable I’ve taken a look at MoreLINQ.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This might be a simple question for some people since it was quite hard
This question is quite simple but I'm not sure of the terms involved to
This is quite simple question but I didn't find an answer: Is there any
The answer to this question is probably quite simple - but I'm stumped. I
Unfortunately, the answer to this question isn't quite as simple as it sounds... but
I'm quite new to Caliburn.Micro, so I guess this has a simple answer (or
My question may seem quite simple but I haven't found the answer yet. In
This is a very simple question with a simple answer, but it is not
I just gave an answer to a quite simple question by using an extension
This is quite a simple question - although one that is on my mind

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.