Hi All, I have been given a task to display the schema of a target db (MS
SQL) and display its relationship visually on an ASPX Page. How should I
proceed with it
Any pointers, tips would be highly appreciated.
Thanks a lot 4 1572
Hi,
It's not an easy task, my advise is for you to check third party tools
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Vai2000" <no****@microsoft.com> wrote in message
news:uF**************@TK2MSFTNGP04.phx.gbl... Hi All, I have been given a task to display the schema of a target db (MS SQL) and display its relationship visually on an ASPX Page. How should I proceed with it Any pointers, tips would be highly appreciated.
Thanks a lot
On Tue, 23 May 2006 13:02:30 -0400, "Vai2000" <no****@microsoft.com>
wrote: Hi All, I have been given a task to display the schema of a target db (MS SQL) and display its relationship visually on an ASPX Page. How should I proceed with it Any pointers, tips would be highly appreciated.
Thanks a lot
Hi
You might try using SQLDMO library. It's a com object, I don't think
there is a managed equivalent yet. I've used it from a win app and
find it extremely useful and powerful but I've never used it from a
web app so here is an asp.net example I found, seems ok at a glance. http://sqljunkies.com/Article/1BFBD4...CA1D8C97D.scuk
Just search for SQLDMO on google or the like, there is lots of info
available.
Hope this helps.
Steve http://www.pretty-vacant.co.uk
It's simple. Use the SqlConnection.GetSchema method.
See http://msdn2.microsoft.com/en-us/lib...n_members.aspx
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
The man who questions opinions is wise.
The man who quarrels with facts is a fool.
"Vai2000" <no****@microsoft.com> wrote in message
news:uF**************@TK2MSFTNGP04.phx.gbl... Hi All, I have been given a task to display the schema of a target db (MS SQL) and display its relationship visually on an ASPX Page. How should I proceed with it Any pointers, tips would be highly appreciated.
Thanks a lot
If it is so simple, how about providing an example of using GetSchema
to provide the relationship between two tables? I know you can use
"ForeignKeys", but cant find any documentation on this.
Kevin Spencer wrote: It's simple. Use the SqlConnection.GetSchema method. See http://msdn2.microsoft.com/en-us/lib...n_members.aspx
-- HTH,
Kevin Spencer Microsoft MVP Professional Numbskull
The man who questions opinions is wise. The man who quarrels with facts is a fool.
"Vai2000" <no****@microsoft.com> wrote in message news:uF**************@TK2MSFTNGP04.phx.gbl... Hi All, I have been given a task to display the schema of a target db (MS SQL) and display its relationship visually on an ASPX Page. How should I proceed with it Any pointers, tips would be highly appreciated.
Thanks a lot
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Elaine |
last post by:
This has to do with self-joins and includes a running balance problem.
Is it possible to do this using SQL alone?
Amortization schedule
--------------------------
Givens: beginning balance,...
|
by: denis |
last post by:
Hi there,
I got a tough interview questions lately, and I would like to hear
your opinion:
An array of N chars is given
Write an efficient algorithm to find all the repeating substring with a
...
|
by: denis_browne |
last post by:
Hi there,
I got a tough interview questions lately, and I would like to hear
your opinion:
An array of N chars is given
Write an efficient algorithm to find all the repeating substring with a
...
|
by: Mr Shore |
last post by:
how to do the follows in IE:
there's page A with element a
pop a new page B from script in A
and append element a into B
after closing page B
put element a back into A
'IE' solution only
|
by: Jim Rutledge |
last post by:
ok ok , anyone know anything on this tough question?
How do you determine the length in seconds that a midi file is , or any
audio file for that matter ?
|
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...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |