|
Did you read the docs on those 2 store procedures?
|
|
|
|
|
Sp_foreign keys gives only foreign key column . I don't need only these as I said before. If it is possible , can you reply my sample question ?
Have a good day
Kemal Akkanat
|
|
|
|
|
Look at the source of this article[^]. I wrote it many many years back, and AFAIK I used those procs. You can get all the info you need.
|
|
|
|
|
omegazafer wrote: How can I reach database relation diagram of sql by using smo
You can't, and you don't need to. Have a look at my article aboutr smo, it should put you on the right track to get the details you want - although there are also non-smo methods.
http://www.codeproject.com/KB/cs/smo.aspx[^]
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Thanks for you reply,
I looked at your article but I didn't understand. Can you explain a little more?
Have a good day
|
|
|
|
|
Well, its only meant to be an introduction, giving you an idea of what smo can do. Try Googling EnumForeignKeys, it will give you waht you are looking for I think
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
string sQuery = "/html/body/table/tbody/tr";
XmlNodeList tables = xmlDoc.SelectNodes(sQuery);
i am using the above code to find the number of lines in an XML file. but i always get the count as zero.
Can anyone plz correct me what i am doing wrong or any new sQuery??
Thanks in advance....
|
|
|
|
|
string sQuery = "//html/body/table/tbody/tr";
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
it did this but still my table count is zero. Can u plz suggest me something else.
|
|
|
|
|
hey thx...
act it needs to be written in CAPS...my fault...
|
|
|
|
|
Yes, XML is indeed case-sensitive
|
|
|
|
|
|
Hi All,
I stuck in a problem please help me , My problem is that I have a windowsForm at this 4 buttons are there. I want to hide the "Text" property of one particular button from Property window so that no one can assign value to it from property window but at the same time he can be able to assing "Text" property programitically .
e.g. :
button1.Text = "Register";
it will be possible by programatically not from property windows .
thanx in advance...
|
|
|
|
|
I believe you have to create your own class that derives from Button like this.
using System.ComponentModel;
using System.Windows.Forms;
public class MyButton : Button
{
[Browsable(false)]
public new string Text
{
get { return base.Text; }
set { base.Text = value; }
}
}
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Expect everything to be hard and then enjoy the things that come easy. (code-frog)
|
|
|
|
|
Hi,
I think You didn't understand my Question. I want to hide the particular property of existing control without inheriting on my form ( in current suitation it is button but in another case it may be another control or may be more than one controls ).
I do not want to inherit all control and then I hide that particular property by overriding.
I only want that I stick a perticular control on my form and hide some properties of it.
for example :
At my form there are 4 controls
1. button : I want to hide the 'Text' Property of this, from property windows sothat developer can not set it's Text from property window
2. textbox : I want to hide the 'Size' Property of this control from property windows only
3. gridview : I want to hide the 'Name' Property of this control from property windows only
4. Groupbox : I want to hide the ' Location' Property of this control from property windows only
And all of cases I do not want to inherit any control.
|
|
|
|
|
What you want isn't possible as the properties and attributes have been set by MS in the source. The only way is use your own controls where you get to set these yourself.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Expect everything to be hard and then enjoy the things that come easy. (code-frog)
|
|
|
|
|
i think what you want is only possible if we have the visual studio code.
|
|
|
|
|
Dear all,
As per the requirement in my application, through coding how can i Turn Off IE header and Footer while printing the page?
Can any body help on this,..
thanks in advance,
Devi.
|
|
|
|
|
It's a print setting in IE. I do not think you can change that from a web page. I could be wrong, but when I was stuck with a similar issue, I didnt find an answer.
|
|
|
|
|
You're not wrong. I tried (in vain) to remove this for a couple of months, and came to the conclusion that there wasn't really a way to do it.
|
|
|
|
|
Pete O'Hanlon wrote: You're not wrong.
Good to know ... that I didn't waste more than a few hours on this
|
|
|
|
|
I had to dock a pictureBox in my mdi form and send it to back, but everytime the mdi is having a baby, it hides behind the pictureBox!!
I had to create a timer that sends this pictureBox to back all the time but still it didnt work!
Is there any other way to have a background image on your mdi form??
Thank you guys
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
Open the document outline window and see that it is placed in the correct order there.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
This[^] article should help you.
|
|
|
|