|
|
I have the following code in my application
m_DataTable= XmlDataSet.XmlToDataSet(xmlOutput).Tables[0];
While debugging I have checked the value of m_DataTable and it has data.But datasource of the combobox remains null even after assigning.
cboTypeID.DataSource = m_DataTable;
cboTypeID.DisplayMember = "Play";
cboTypeID.ValueMember = "Play";
cboTypeID.SelectedIndex = -1;
The thing is that the same code Works fine in others Systems
B.RAMYA
modified on Friday, April 11, 2008 1:29 AM
|
|
|
|
|
I asked if it was an ASP.NET system - not C# (that seemed to be a given). If it's an ASP.NET page, you need to call DataBind() after you set the data source.
|
|
|
|
|
I have a UserControl with several other controls on it - GroupBox, RadioButton etc. When the control is on a form its BackColor can sometimes clash with the current windows display mode because the BackColor is set to Control (I have tried setting it to Window and the same happens)
How can I get the UserControl to not clash with the Window setting (on Aero, Windows Classic etc)
|
|
|
|
|
Hi,
I am working on C# 2.0 windows application, I have to save some xml files in a folder which is hidden, without changing its hidden attribute.
(I am able to save it in same folder when i unchecked its hidden-property).
plz do needful
thanks in advance!
Ahuja
Ahuja
|
|
|
|
|
Please don't cross post.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello,
Is there a method to obtain all windows created from a parent window?
It must be done from the outside, knowing only the handle to the parent window.
I tried EnumChildWindows, but it only gets handles to child controls, not to windows dynamicaly created by calling (new Form()).Show(), or messageBoxes.
I'm pretty new to forms, don't know if this is even possible
Thanks
|
|
|
|
|
EnumChildWindows returns all of the controls AND forms, since a form is just another control under .NET.
In Windows terms, every control, like button, textbox, combobox, is a seperate window.
|
|
|
|
|
How to clear printer Buffer?
vijaya
|
|
|
|
|
Turn the printer off and back on again. Or, if the printer has a control panel, you might want to check the documentation on canceling a job or something like that.
Can you do it from your code? Nope.
|
|
|
|
|
Hi all,
I intend to filter IPv6 packets.
I have already succeeded in capturing and decoding the packets n a human readable format.
Now i want to block some unwanted IPv6 traffic
say:
I do Win XP to drop packets with destination address A and port A1 and source address B and port B1
how can I do this?
will manipulating the IPv6 routing tables on my machine work?
I did
C:> netsh
netsh> interface ipv6
interface ipv6> show routes
this showed me some routes for IPv6 traffic going out of my machine,can i manipulate them to block certain traffic.
Is there any other way of doing it?
please help
thanks and regards
Ather
|
|
|
|
|
What's wrong with using the built-in Firewall in XP?? Or you could use a third party firewall to do the same thing.
|
|
|
|
|
I am about to make a program which let users edit microsoft word documents and save them.Is there any free control that has such capability.
|
|
|
|
|
I definitely know that there some controls here, on cp that allow to view word files. I don't remember whether they support saving or not but you can add save capability if they don't
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Hi,
is any one having idea about, how to shows items vartically in listview
instead of horizontally.
amit
|
|
|
|
|
No, you can't do it. At least, not trivially
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i got the answer by myself.
if any one have the same problem then do this.
1.)Add a column
and then set its view property by view.detail.so all item will
be visible vertically instead of horizontal.
And if you dont want column-header to come with list view items.
then set ListView HeaderStyle property by None.
amit
|
|
|
|
|
Hello
I have an excel file which contain some titles and dateand....
and a row that look like this:
Name Director Signature
how can i fill automatically this columns using c#.
Note: the row number to start with is 7.
best regards
dghdfghdfghdfghdgh
|
|
|
|
|
ellllllllie wrote: how can i fill automatically this columns using c#.
Read the MSDN documentation on using the Microsoft Office Excel Object Model and the Primary Interop Assemblies for it.
There is tons of information on that subject.
led mike
|
|
|
|
|
Please don't do it. You've been bombing the boards long enough to know that this is against the rules.
|
|
|
|
|
how can i schedule a same file in a same day.
For eg:
i need to schedule a file aaa.xls at 11 AM and 3:00 PM daily.
Thankyou,
Yesuprakash
|
|
|
|
|
ypki wrote: how can i schedule a same file in a same day.
For eg:
i need to schedule a file aaa.xls at 11 AM and 3:00 PM daily.
Schedule? To do what? Remind you it needs updating? Use Outlook (or some other suitable time manager) if you want a reminder. If you want to run a task, take a look at the NT Job Scheduler utilities.
|
|
|
|
|
How to drag and drop the nodes from one treeview to another in windows application?
|
|
|
|
|
|
hi all.
im developing a multi language project(Application). And i want
change value from messageBox at rutime.
ex: if i choose english language the messageBox shown at that time
is :
MessageBox.show("hello");
And if i choose French language the messageBox shown :
MessageBox.show("Bonjour.")
thanks.
|
|
|
|