Just show 1 in 2 in at same time. I need help???

foreach (var node in senseblock1_1)
var extraexample = node.Descendants("div").FirstOrDefault(x => x.GetAttributeValue("class", "") == "extraexamps");
if (extraexample != null)
Dictionaries.MoreExample = extraexample.InnerText.Trim();
var phrase_block = node.Descendants("span").Where(x => x.GetAttributeValue("class", "") == "phrase-block");
foreach (var nodephrase in phrase_block)
Dictionaries = new Models.EnglishDictionary();
//phrase head
var phrase_head = nodephrase.Descendants("span").FirstOrDefault(x => x.GetAttributeValue("class", "") == "phrase-head");
Dictionaries.PhraseHead = phrase_head.InnerText.Trim();
//phrase body
var phrase_body = nodephrase.Descendants("span").FirstOrDefault(x => x.GetAttributeValue("class", "") == "phrase-body");
Dictionaries.Phrase = phrase_body.InnerText.Trim();
arrays.Add(Dictionaries);
arrays.Add(Dictionaries);
If there is partner
var phrase_block = node.Descendants("span").Where(x => x.GetAttributeValue("class", "") == "phrase-block");
foreach (var nodephrase in phrase_block)
Dictionaries = new Models.EnglishDictionary();
//phrase head
var phrase_head = nodephrase.Descendants("span").FirstOrDefault(x => x.GetAttributeValue("class", "") == "phrase-head");
Dictionaries.PhraseHead = phrase_head.InnerText.Trim();
//phrase body
var phrase_body = nodephrase.Descendants("span").FirstOrDefault(x => x.GetAttributeValue("class", "") == "phrase-body");
Dictionaries.Phrase = phrase_body.InnerText.Trim();
arrays.Add(Dictionaries);
then it just show this partner(lost dictionary.MoreExample) and thing else  if I remove it that showing dictionary.MoreExample, lost this code(did not show)
foreach (var nodephrase in phrase_block)
Dictionaries = new Models.EnglishDictionary();
//phrase head
var phrase_head = nodephrase.Descendants("span").FirstOrDefault(x => x.GetAttributeValue("class", "") == "phrase-head");
Dictionaries.PhraseHead = phrase_head.InnerText.Trim();
//phrase body
var phrase_body = nodephrase.Descendants("span").FirstOrDefault(x => x.GetAttributeValue("class", "") == "phrase-body");
Dictionaries.Phrase = phrase_body.InnerText.Trim();
arrays.Add(Dictionaries);

Greg, I have no idea what your question means.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.

Similar Messages

  • How many shows can I DVR at the same time?

    I just signed up for FiOS triple play with preferred HD, premium stations, 75/75 internet and phone. I was watching a show the other night and DVR'd 2 shows - got a message saying I couldn't do that. How many shows can I DVR at the same time? Can I still watch a live show while DVR's recording?
    This is SO frustrating!

    Every regular DVR has 2 tuners It can recordp to 2 shows at a time.
    If both tuners are in use,, then you can't watch anything else.
    Want to record more, get more DVRs or upgrade to Quantum.
    Lowere level has 6 tuners. THey support remote TVs and recording.
    THere agin, you can get combination of channels being watched and recorded up to 6.
    Need even more, upgrade to higher level and have 12 tuners to share.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • I have just created a new playlist, at the same time I have updated the ITunes software and that of my ITouch. My problem is that today I have been trying to edit the playlist and the edit playlist is greyed out please help

    I have just created a new playlist, at the same time I have updated the ITunes software and that of my ITouch. My problem is that today I have been trying to edit the playlist and the edit playlist is greyed out please help.
    I have been in preferences and checked manually edit etc and still no joy. I must be missing something.
    Susan

    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • Holding 'select' and 'menu' at the same time doesn't help. What now?

    First, the only thing that would happen when trying to turn it on was that it would show a message with the Ipod support website but nothing else. Now it doesn't even turn on. Pressing 'select' and 'menu' at the same time doesn't help and it is not on Hold. Any ideas or is it just dead?

    I have the same problem, only not so far gone. My iPod keeps showing me the logo for a couple seconds, then a red X that tells me to go to apple.com/support. I have been here several times and tried the five R's and nothing has worked. My iPod is also charged and the hold isn't on. My computer isn't recognizing that it is hooked up, my warranty is up and this is my second iPod. My first one's death was completely my fault, but I did nothing to prompt this lock down. I am about ready to try some of the risky hints online to get it to work but I would like something less extreme than taking the thing apart.

  • My iphone 5 crashes (restarts) automatically after updating to ios 7.1 anyboday facing same issues ? Need help !!!!

    my iphone 5 crashes (restarts) automatically after updating to ios 7.1 anyboday facing same issues ? Need help !!!!

    I am having the same issues--just got off phone with customer service rep--was told that my phone is in recoveyr mode and that I would have to restore it, however, the only things that would be restored would be from my last backup which was in November 2013!  I was also told that apple users should not update as soon as the update is available (so why are they sending it to us if they're not sure that there will be any problems!!!).  I can't restore now since I am in work--will do it when I go home tonight.  In the meantime, I am without a working iphone for the day!  This is horrible--I see I'm not the only one who has experienced this!

  • IPhoto slide show stopped working, just showing the first chosen picture, the same with the sound. iPhoto 9.5.1(902 17), MacBook Pro and Maverics. How to solve this problem?

    iPhoto slide show stopped working, now showing just the first chosen picture, and the same with the music. iPhoto 9.5.1 (902.17), operating system Maverics 10.9.2
    How solve this problem?

    There's a bug with iPhoto 9.5 and Mavericks in that slideshows from Albums do not play correctly if they are sorted manually.  Only photos that have been sorted by date, keyword, rating or title will play from albums correctly.
    To have a slideshow with photos sorted manually use the slideshow mode in iPhoto.
    Send a bug report to Apple viahttp://www.apple.com/feedback/iphoto.html.
    OT

  • Chinese version of Ipad2 is not able to upgrade to ios4.3.3, I can't even register my ipad2 on apple website, it says my serial number is wrong!! I find out that this is not just my problem, many users in China have same symptom, I need help!!!!!!!

    same as title
    please help me, consider that there is plenty of users are having same problem, my ipad2 is not a problem.

    If the iPads are Counterfeit then Apple will have nothing to do with them except maybe try to find the Counterfeiters and charge them.
    It's the usual story...  If something is too good or cheap to be true it probably is.

  • I was erase all contect and data after it it showing only apple  logo from last 2 hour i need help

    i was erase all contect and data after it it showing only apple  logo from last 2 hour i need help

    You should reset your iPhone,
    Reset your iPhone by pressing the 'Sleep' and 'Home' button at the same time for about 15 seconds or so. Your iPhone will then go through a reset / reboot procedure and will be ready for use within about a minute.
    Don't worry about doing this as you will not lose data or settings.
    Good luck and do report back.

  • My iphone 5s won't turn on after i try the step with pressing the home button and sleep button at same time. Please, help me!

    Guys, i have a problem!
    My iphone 5s was at charging and when i checked him, he had a black screen... I saw some answer about this problem but doesn't work. That step with pressing home button and sleep button at the same time doesn't work and i don't know what else to do. Please, i need your help! Thank You!

    You don't just press the buttons at the same time, you have to hold them down together until you see the Apple logo. This can take 15-30 seconds. If it does not work the first time, connect the device to the charger and try again.

  • TS3212 So I tried downloading the newest version of iTunes but it wont download it will just say iTunes is safe and won't download I NEED HELP?

    I need Help! i tried syncing my ipod then it said i neededthe nwer version of itunes so i downloaded it like 8 times! it still didnt work so i uninstalled it and it wont download at all when i try a window willl pop up and say would you like to save this file? and i will click save file and it would download but its nowhere on my computer?!?!

    Hi DJBentley2011,
    Welcome to Apple Support Communities.
    It sounds like there is an issue burning CD's in iTunes. Is the playback issue only occurring on a specific device and does the disc show up correctly in iTunes? The article linked below should help you resolve optical drive issues, it walks you through identifying potential issues and provides troubleshooting suggestions.
    iTunes for Windows: iTunes Diagnostics, CD/DVD Drive Tests
    http://support.apple.com/kb/HT1567
    I hope this helps.
    -Jason

  • I accidentally dropped my iPad but it didn't crack the screen just went totally black and it still turns off and on but it's just black and I can't do anything. I need help I don't  know what to do

    I accidentally dropped my iPad but it didn't crack. It just went black and I tried turning it on and off and it works but it just stays black and I don't know what to do I desperately need help.

    I could not believe it, but it worked. If you have this problem, Here's my word to you: Don't give up! I tried this "magical" fix three times last night. Nothing (...x3!). Then, today I put it upside down on my ottoman and hit the back quite hard. I have no idea how this works and - even a s a scientist - I don"t care! My iPad is up and running again. Go figure... but I am thrilled!!! Thank you, forum. I never would have thought of this on my own. And you just saved me several hundred $$$!

  • My phone has died. I tried upgrading my Iphone 3gs yesterday to ios. It failed to update, it has failed to restore. Now its just showing a plug and Itunes on the screen. Please help soonest

    My I phone is literally dead. I tried upgarding the software yestreday, it refused saying there was an error, I was given an option to restore it, it has failed. Now there is no old software as well as the new software. Its showing a plug and an Itunes signal on top. Thats all that it has. I will be very grateful to receive any form of help out there.

    The iOs 5.1 is a huge file that needs to be dowloaded when updating/restoring, your phone hasnt completed the update so its now in recovery mode. Look on the left of itunes, it should say downloads under the store section with a spinning wheel, click that and youll see the update file with a time remaining, wait for that download to finish then try the restore again  and it should work

  • Show Top Sites and webpage at same time - Safari 8, Yosemite

    After upgrading to Yosemite and Safari 8 I can't have the Show Top Sites/Reading List sidebar open anymore while I'm surfing the web. Every time I click on the sidebar it go to the Top Sites page. Is there any way to have the sidebar in Safari 8 work like it did in Mavericks where I could keep it open at all times, no matter what page I'm on? I have a 30 inch monitor so screen real estate isn't a problem for me. I'd much rather have all my bookmarks visible to me on the left side of Safari at all times rather than have to click on a folder and open them that way.
    I don't want workaround like, "Use the Bookmarks bar." either. I have lots of Bookmarks and many of them are better suited in a folder and the Bookmarks bar hides items in folders, this the problem I am trying to solve.
    Thank you for your help!

    I have figured out how to do this. I was clicking on the Show Top Sites button located in the Favorites Bar (called the Bookmarks Bar by me earlier) but there's a separate Sidebar button located next to the Back/Forward buttons.

  • I find FF3.610 works well when first opened. However, if I leave the PC on and unused for a while FF won't load. The hour timer shows then dissappears. At the same time I'm not able to open the volume control. Restarting sorts the problem.

    I am working a PC with Windows XP SP3
    I checked the site to read the advice to switch off Skype 4 if installed. It was, I did. No change.
    If I Ctrl+Alt+Del I don't see Firefox listed but when I finally switch off I get a "Firefox is not responding" notice.

    Dankeschon !

  • Just bought new time capsule- need help setting up WiFi network with another router

    Here ismy situation.
    I had a wireless network setup up at home using a Belkin wifi router.
    I have 2 macBooks (1 pro, 1 air) and 2 iphones that connect wirelessly and a desktop PC that is hard wired to the ethernet port.  In addition, I have a Verizon wireless network extender plugged in by ethernet.  All of the hard-wired gear is in our 3rd floor attic office (and the wireless signal was strong throughout the house).
    The Belkin wifi router was plugged into a wall ethernet jack that is in turn wired into a Linksys router in the basement (along with multiple other ethernet ports througout the house) and is hardwired to the Cable modem next to it.  All of the hard-wired ethernet stuff (including the router in the basement) was there when we bought the house, and I have no clue in the tangle of wires how to sort them out (but don't really think I need to)
    I just purchased a TimeCapsule to do wireless backups of my 2 macbooks, and tried to set it up alongside the existing wireless modem.
    Needless to say, this did not work well. I called  AppleCare, and was told that the TimeCapsule needs to be the "1st" wireless adapter, so I went into the basement, and connected the time capsule directly to the cable modem, and then out to the basement router.  The Belkin router still needs to be in the attic to supply the PC and the Verizon adapter (so it is near a window for GPS signal). 
    If I try to name the WiFi network the same SSID on both the TC and the belkin router (to have dual signal strenth coverage) the whole thing gets messed up and the TC cannot be "found" by the aiprort Utility software.
    What I have done now is that I have 2 side-by-side wireless networks with 2 unique names (actually 3, because I enabled the 5Ghz signal on the TC), but our wireless devices do not "switch" automatically from one SSID  to another stronger signal SSID as we move through the house
    Here's the question: How do I name them the same so that the devices will switch effortlessly to the stongest signal?  I understand it involves switching the "channels" but don't know how to do it right now.  Currently, everything works, so I don't want to mess it up tinkering.  Another caveat- there are several other wireless networks from neighbors houses that I can "see".  I jsut downloaded a program called iStumbler that shows the channels, but not sure what to do with that info.
    Any advice would be appreciated.

    Here's the question: How do I name them the same so that the devices will switch effortlessly to the stongest signal?  I understand it involves switching the "channels" but don't know how to do it right now.  Currently, everything works, so I don't want to mess it up tinkering.  Another caveat- there are several other wireless networks from neighbors houses that I can "see".  I jsut downloaded a program called iStumbler that shows the channels, but not sure what to do with that info.
    Any advice would be appreciated.
    OK.. sounds like a mess.. or at least messy and the previous people should have left a log book with all the IP address info in it.. you have far too many routers.. but from here it is impossible to tell how they are configured. Most are probably just setup as AP.
    Naming rule for wireless.. Same SSID same security different channel.
    SSID ie wireless name to work on the PC side should have no spaces and no special characters. TC name should also follow that rule. So the devices need to all set with fixed channels.
    Don't worry too much about iStumbler and what is outside your house.. there isn't enough channels at 2.4ghz anyway. And you are going to need to use them all. There are only three non-overlapping channels. 1, 6, 11 so set each device to one of those channels. The TC should be as close as you can to where you normally use the MacBooks.. and turn on the 5ghz. You will have to leave it to automatic name so the Macbook can also roam across from 2.4 to 5ghz. But if you care to use a different name and force it onto 5ghz the speed is much better as long as you are in the same room.
    Roaming is great in theory.. often in practice it just doesn't work.. you need to step in and turn off wireless and then turn it back on.. you can quickly see which router it is connecting to by hold down the option key when you click the airport fan in the top menu area.. and look at bssid.. you will have to figure out which number MAC address relates to which router.
    Also do not be surprised if Lion gives you issues. It seems to often drop out and lose connection to the TC as a backup device even if internet is still working.

Maybe you are looking for

  • [SOLVED]Can't get correct intel video support

    Hi there, I'm trying to get the intel video card of my Dell Latitude E5410 laptop working. I can't for example use the xv extension : xvinfo X-Video Extension version 2.2 screen #0 no adaptors presen here are some information of my config : uname -a

  • Synchronised contacts not visible in Phone Browser

    Started Nokia 6300 + PCSuite 6.84. After synchronization with Outlook 2003 I got all the contacts from PC to 6300 succsefully. But I do not see them in Phone Browser, so there is no possibility to adjust them directly. The only contacts I can see are

  • Get PDF Dimensions without opening

    Hi, Is it possible to get the dimensions of a single page PDF without opening the file? Thanks.

  • Using custom style sheets in R12

    Hi, I am trying to deploy a solution from Anil Sharma to Restrict user to enter data in CAPS ONLY. http://oracleanil.blogspot.com/2010/10/restrict-user-to-enter-data-in-caps.html However i am not able to do so. I can't find the file custom.css. But I

  • BI Administration Cockpit - Empty templates in portal

    Hi, Has anyone experienced the following problem: - The BI Admin. Cockpit has been installed according to instructions without errors - The technical content as well as the process chains are working and data is being collected from the objects point