blah blah blah is here! blah blah » Close

1
votes
1 answers

Creating a back up file

Hello all, In my program I have to create a back up file whenevr a particular class is called. Suppose class MyClass.cs creats a xml file(c:\test.xml) after serialization. when this class is called next time it first checks whether file ...

1
votes
1 answers

Abstraction and Encapsulation concept

Please tell me what are exactly abstraction and encapsulation in OOPs and differences between these. I have seen different opinions in different books/websites for abstarction & encapsulation. Thank you.

1
votes
3 answers

deleting a particular node from a nested tree structure

Hi all, i have a tree structure like this. [code]RootNode .ChildNode1 ..GrandChild1 ..GrandChild2 .ChildNode2 ..GrandChild3 ..GrandChild4 ..GrandChild5[/code] ChildNodes and GrandChildNodes are dynamically cr ...

0
votes
1 answers

displaying system languages in a drop down

How can i show all the available language of system in a drop down(like in Control Panel->Regional and Language, Regional tab option has a drop down that displays all the language) ? Thanks.

0
votes
1 answers

merging of xml documents

Hi, i have 2 xml documents that needs to merged. but while appending nodes of second document into first, i am not able to append root node of second xml document. and its giving problem during deserialization(root missing). following are 2 ...

0
votes
1 answers

XML Problem

when I am adding a object to List<> for serialization then it is giving root element as ArrayOfObjects. list.add(myObject); serialization.serialize(stream,list); then the output XML has root element like this <ArrayOfmyObjects ...

0
votes
1 answers

xml serialization problem

Hi... during serialization i am getting exception "The type namespace.classname was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically." Scenario is following... I have a cla ...

0
votes
1 answers

Reflection doubts

Please tell how can I get HybridDictionary of a class "A" in another class "B" at runtime. Class B doesn't have Class A's instance. one more question... with the help of someObject.GetType().GetMethods() we can get Nam ...

0
votes
1 answers

Use of an object's instance in another file

I have a small doubt. Please tell me how to use an instance of an object that is already created in another file. i have following scenario.. In a namespace suppose 1 project is there that has 3 files A.cs, B.cs, C.cs.. when application s ...

0
votes
1 answers

how to display a ? mark in red circle against a field

Hi Vulpes..could you please tell me how to highlight(display a question mark in a red circle background) a field(or edit box) when user has entered a wrong value in it or when user forgot to enter value in this field. Thanks..

0
votes
1 answers

UI Type Editor help

Hi all.. Can any one please give me c# code for UI Type Editor. I have very less idea about this feature. To start learning it I want to use UI Type Editor for a very simple c# application. Suppose I have a C# class Person that has prop ...

0
votes
1 answers

converting a file in XML

hi..I have file like this Video //Video1 Start Name = Director = Actor Start Name = Rating = End Actor Start Name = Rating = End ...

Feedback