473,395 Members | 1,613 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,395 software developers and data experts.

help me plz!!

I am pretty new to the subject...i would really appreciate if you could
help me with this doubt...

I need to write a C# code which performs the following:

a) connects to the sql server database( I dont know the procedure to
connect to the data base)

b) on a web page i need to display the list of table names and their
associated indexes in a tree view ( i.e. parent node should be the name
of the table and the child nodes should be the index names)

Plz do help me

Thanks a lot

Dec 26 '06 #1
1 998
Hi

You don't give which version of SQL Server you are using, but you should
find most of what you want to do in parts of the Samples that come with the
product, for instance with SQL 2005 there is a dependency explorer and other
SMO examples which will do something similar to what you require. For SQL
2000 check out the DMO examples.

John

"frien" <00******@gmail.comwrote in message
news:11**********************@73g2000cwn.googlegro ups.com...
>I am pretty new to the subject...i would really appreciate if you could
help me with this doubt...

I need to write a C# code which performs the following:

a) connects to the sql server database( I dont know the procedure to
connect to the data base)

b) on a web page i need to display the list of table names and their
associated indexes in a tree view ( i.e. parent node should be the name
of the table and the child nodes should be the index names)

Plz do help me

Thanks a lot

Dec 27 '06 #2

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

Similar topics

1
by: Nuno Caldas | last post by:
Ok , here's the deal , ive got a DB where there is a table called products wich as the "ID", "description" , "Stock" fields in it , i have another one in wich i have "ID" , "Counted". What i need...
1
by: jomichie | last post by:
Plz Help Me I Have a simple datsbase with 2 tables tblproducts productID primary key productname text unit cost currency tblorder orderID productID
2
by: sanju | last post by:
Hi, I am struggling to replace a bit value 'True' or 'False' with a image true.gif or false.gif and bind it to a repeater control. I am getting values 'true' or 'false' depending on whether...
1
by: talhak | last post by:
hello...im trying to make a simple calculator on c# i have written this code as seen under but i cant figure out how to initialize the values from the buttons the add function is working fine but it...
3
by: anis2007 | last post by:
actually i m new in php. Plz tell me if i need calculator, then we make calculator, or this is inbuilt already in php and we used only function and in this type calender also. plz sussest....
2
by: anis2007 | last post by:
Hi to all of you, My problem is this- How i use javascript in textfield which i got result at rendom if i give some intiger value in text field. Like use in monster, if i give no of jobs in text...
0
by: alaa123 | last post by:
hello can an expert XML help me plz I need to implement an SVG to PostScript converter, The converter should be written in JAVA and use the Apache Xerces SAX2 parser, please help or at least...
0
dmjpro
by: dmjpro | last post by:
this is my code ... look at carefullyyyyy ... import javax.naming.*; import java.util.*; class JNDITest { public static void main(String args) throws Exception { Hashtable tab =...
6
by: Scotty Montague | last post by:
hi guys! i own 2005 ford mustang convertible and i want to make it go faster. my friend barry's told me that i can reprogram computer in my car and boost the horses. i assume computer program is...
1
by: sasha80 | last post by:
Hello everybody here is Sasha from russia ... I'm working as .Net 2005 application developer I prepare to gain MCPD certificate i have to pass three exams 70536(first) 70526(second)...
0
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...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.