There is a main class having 2 subClasses(each represent separate entity) and all classes needs to be serialized.. how should I proceed ?
My requirement is when I serelize MainClass, I should get the xml for each sub class and main class as well. Thanks in advance... and if my approach is incorrect... correct that as well..
Ex given below...
…
I have a table [Tbl1] containing two fields.
ID as int And
TextValue as nvarchar(max)
Suppose there are 7 records. I need a resultset that has two columns Text1 and Text2.
The Text1 should have first 4 records and Text2 should have remaining 3 records.
[Tbl1]
ID | TextValue
1. | Apple
2. | Mango
3. | Orange
4. …
I created a Terminal Services farm comprising of 3 TS hosts (say, TS1, TS2 and TS3) running Windows 2008 R2 Enterprise, a TS Connection broker and a TS Gateway for the purpose of hosting a windows application as a TS RemoteApp. The setup works just fine. Now, I want to do some further configuration changes on a particular TS host, say TS2 and not…
I have Zend Lucene Search Algorithm implemented in my code. Some of the keywords are not returning any results. The keywords for which no results are returned are included in list of Stopwords. Is there a way to include certain stopwords while searching???
Hi All
How we set or get focus on any control in cocoa.
like setfirstresponder
We have 2 control A and B, A is firstresponder
After action I want to set focus ob B control
and also how we get focus on a particular control
and how we notify that leave focus..... I need it in validation ....
I want to force user to fill a textfield and then go…
I read a lot, also here, but couldn't find a simple way to do it:
In objective c -
I have a big UIImage and a small UIImageView. I want to programmatically shrink the content of a UIImage just enough to fit the smaller dimension within the UIImageView. The larger dimension will be cropped, and the result will be the maximum I can get from an…
I know the answer depends on the particular JVM, but I would like to understand how it is usually implemented? Is it in terms of popen (posix)? In terms of efficiency do I need to keep something in mind (other than using a Buffered stream as suggested by the javadoc). I would be interested to know if there is a general reference about…
hey all,
well i want to have an autocompleting textbox like the one in the image below:
this screenshot is from an accounting software. whenever the user focuses on a textbox and starts typing something the suggestions just popup under the control (as seen in the image under the Purc type textbox).This autosuggest functionality even…
I have to select an <a> element from the given class of objects. when i click on the anchor tag in the showcase_URL class, i want the jquery function to get the value from <a> tag.
How can this be done?
I cannot make this an id as I am running a while loop to construct all the elements in php. there would be multiple…
conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\\database.mdb");
conn.Open();
com = new OleDbCommand(@"insert into group
(groupid,groupname,nature,effect)
values
(@groupid,@groupname,@nature,@effect)", conn);…
folderBrowserDialog1.Reset();
folderBrowserDialog1.ShowDialog();
if (folderBrowserDialog1.SelectedPath != "")
{
sourcetxt.Text = folderBrowserDialog1.SelectedPath;
string[] path = Directory.GetDirectories(folderBrowserDialog1.SelectedPath);
}
i am write this code.i have get all folder…
Hi I have VS 2010 Ultimate installed on Win 7 Enterprise (32 bit). In my middleware I have some DLLS referred. If i try to build the solution, some of the DLLs are not getting recogninized and the solution will not build. The same solution builds fine on VS 2008. Any Idea why this happens?
Hi All,
I am developing a application in which i need to prevent collapsable behaviour of a root node in tree view.
I tried using Before Select event.
Is there any alternative for it?
I know it might be a weird question and its Title too, but i need your help.
I am a .net dev , working on platform for the last 1.5 years.
I am bit confused on the term usually we say " A Good Programmer ". I dont know ,what are the qualities of a good programmer ? Is the guy who writes a bug free code? or Can…
what I want:
when i hover upon a link it should fill the background with a fixed width (say 225px) background color.
the length of the text of the link should not be considered.
thank you so much.
I need to open sheet from seperate NIB and wants to use its seperate controller awakeFromNib to configure sheet controls.Please let me know the best way to do that.I am using 10.5 API with XCODE 3.1.4
I am binding NStableView with NSMutableArray contiaining filenames and other file details.
Simple biniding and sorting with compare: is not properly sorting file names like finder.
Please let me know if i need to define custom selector for sorting filenames and how?
Hello All,
I am beginner on WPF and need your help.
Problem:
I have 4 buttons on the form and need to apply 2 different style on pair of 2 buttons.
Is there any way we can achive this ?
please provide me sample if possible...
Thanks in advance...
Hello All,
I need to group the value based on some attribute and populate it.
below mentioned is i/p xml and if you see there are 4 rows for Users and for id 2,4 Division is same i.e. HR
while generating actual o/p I need to group by Division ... Any help ???
I/P XML
<Users>
<User id="2"…
Hi in case of full page submit a trasparent div id coming and changing the cursor to 'wait' . Now when the page is getting submitted and new page is coming up cursor still remains to 'wait' not changing to default until mouse is moved in Firefox
Here is simple html click on show button div is coming…