SelectCommand problem (code) how do I code this

I have a code on a code behind page in asp.net like the one below. 
  foreach (T_activities k in dc.T_activitiess.Where(p => p.date <= e.Day.Date && p.dateontill >= e.Day.Date && p.show == "yes").OrderBy(o=>o.starttime))
This codes shows the items in a calendar and if the dateontill has a date it shows this item untill that date written in dateontill together with the items in date. 
But now the calendar has moved on my website and this select date in now on my .aspx page. 
SelectCommand="SELECT [show], [date], [starttime], [dateontill] [art], [subject, [place] FROM [T_activities ] WHERE (([date] = ?) AND ([show] = ?)) order by starttime">
I cannot figure out how to make the select command where I show allt the items for date and also show the items on other days if the dateontill is filled. 
pls help
regards
Fili

The alias e has no object assigned to it. Apart from it if you need records which lies under a specific date range then.
SELECT <COLUMNS>
FROM <TABLE_NAME> JOIN <TABLE_NAME> ON <CONDITION>
WHERE
<DATE COLUMN 1> >= [DATE START PARAMETER] AND
<DATE COLUMN 2> <= [DATE END PARAMETER]
[AND OTHER FILTERS.....]
Chaos isn’t a pit. Chaos is a ladder. Many who try to climb it fail and never get to try again. The fall breaks them. And some are given a chance to climb, but they refuse. They cling to the realm, or the gods, or love. Illusions. Only the ladder is real.
The climb is all there is.

Similar Messages

  • I cant seem to download and install the latest iphone software update. I have tried since the release and have been unsuccessful on more than 7 occasions and lost all the data on the process. Anyone have that problem an how do I fix this problem?

    I cant seem to download and install the latest iphone software update. I have tried since the release and have been unsuccessful on more than 7 occasions and lost all the data on the process. Anyone have that problem an how do I fix this problem?

    Hi
    Thanks but I have tried doing the above - when I said 7 times I was modest, its more like 15 times.
    And I am referring to the 5.1 software update. I dont have wifi so I guess I will have to try that seeing that my husband also has the same problem - he has also tried downloading several times. It always times out en says that the connection is lost but yet there are always an internet connection and a decent signal once it stopped. Think it said error 32052 or something!
    I am disappointed because the update includes inprovement on the battery life - did you guys notice any difference?

  • No matter what wi-fi I'm connected to or browser I'm using, webpages take forever to load or they never load at all. Other computers do not have any problems. How can i fix this?

    No matter what wi-fi I'm connected to or browser I'm using, webpages take forever to load or they never load at all. Other computers do not have any problems. How can i fix this?
    I've tried safari, chrome, firefox...I've cleared the cache as well. This has been going on for several months and used to be tolerable as it was not every website. Now it has become every website and is impossible to deal with. My roommates computer and my cell phone connect fine. I'm fully connected to the router yet websites don't load. I'm using 10.7.5. Thank you!!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Can't open iTunes, it said it has failed to start because MSVCR80.dll was not found, and I re-installed application many times and still problem persist, how do I solve this?

    can't open iTunes, it said it has failed to start because MSVCR80.dll was not found, and I re-installed application many times and still problem persist, how do I solve this?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    Doh! Rectified flash!
    But when face timing 2 seconds after it connects wifi disconnects? Any thoughts

  • TS3694 i have a problem 3194 how can i fix this white screen

    i have a problem 3194 how can i fix this white screen

    This device is not eligible for the requested build (Also sometimes displayed as an "error 3194")
    Update to the latest version of iTunes.
    Third-party security software or router security settings can also cause this issue. To resolve this, follow Troubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to perform unauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. Uninstall the unauthorized modification software from the computer.
    Edit out the "gs.apple.com" redirect from your hosts file, and then restart the computer for the host file changes to take affect. For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart.
    Avoid using an older or modified .ipsw file. Try moving the current .ipsw file (see Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), or try restoring in a new user to ensure that iTunes downloads a new .ipsw

  • HT4628 some times my internet connection will say it has timed out and I can not connect. but my friends mac never has a problem. How can I fix this?

    some times my internet connection will say it has timed out and I can not connect. but my friends mac never has a problem. How can I fix this?

    Just confirming, when you have the trouble, the wifi icon is grayed-out or has all bars showing? I believe you are saying that is is grayed-out - not connected to your wireless router.
    I have a Mini that started to lose connection to the Internet after the 10.7.3 update but still showed the wireless as connected. If I pinged the wireless router, I would get a quarter of the packets failing to return. The router was a Netgear that supported 802.11N connections. As a test, I set it to 802.11G (54MBps) maximum and the Mini worked fine for a week - no dropouts. And for the other devices that did support 802.11N, while there was a noticeable delay with downloads and pages loading, they still worked.
    As another test, I changed the Netgear router to a Billion 802.11N model and the Mini has not had a problems since. (It is still using 802.11g). So it could be your router that is causing trouble for your Mac.
    Have a look at some of the More Like This postings in the right column. There has been a number of Mac owners experiencing wifi connection issues and some very good suggestions as to how to resolve their issue.

  • I was going to use iExplorer to try to copy Notes from iphone 4 to my iMac but changed my mind.  Deleted iExplorer.  Now my Mac won't recognize when my iPhone is plugged in.  Is iExplorer the problem?  How do I fix this?

    I was going to use iExplorer to try to copy Notes from iphone 4 to my iMac but changed my mind after downloading iExplorer to my iMac.  Deleted iExplorer from my iMac.  Now my Mac won't recognize when my iPhone is plugged in.  Is iExplorer the problem?  How do I fix this? 
    I am using the Yosemite OS on m

    Hi TakesTwo2Tango,
    Thanks for using Apple Support Communities.  It sounds like you should definitely be seeing a plus sign after tapping Edit, so I would try a couple relatively easy things (closing the Music app, resetting the iPhone):
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Cheers,
    - Ari

  • Every time I want to download itunes 11, I keep getting a network error. I have tried changing my location but every time, I get a network error. I have been able to install itunes 10.7 without a problem. How do I fix this?? Help!!

    I recently updated my ipod to iOS 7. Now that I have done this, my itunes needs to be itunes 11. I have been able to download itunes 10.7 but now I need an upgrade. Every time I go to update it, I get a "Failed-Network Error" message. I have tried changing my location and networks but I still get the same message. I really need to download itunes 11 inorder for my ipod to work with the itunes. How do I fix this problem?? Help!!!

    I had the same problem and tried restarting my computer. It configured windows updates for a while, then iTunes downloaded successfully. Hope this helps!

  • Some websites display in a very basic format in Mozilla, but are fine in Explorer. This is a recent problem. How can I fix this?

    Recently Mozilla is having problems displaying some websites. Previously these website displayed fine, and in Internet Explorer they still displays them fine.
    For example. http://www.yr.no/ displays few graphics, and all the text is in times new roman font. The size of the font varies and things are bulleted. Links appear blue and underlined, and the rest of the text is black. The sites are now very plain and have none of their previous detail. How can I fix this?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    Can you attach a screenshot and post a link?
    *http://en.wikipedia.org/wiki/Screenshot
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    You did check the Windows Accessibility settings in the Control Panel?

  • Firefox gives error by opening Yahoo Mail. Other webbrowers don't have this problem. How do I solve this

    Firefox gives an error by opening Yahoo mailbox.
    It mentions every time: 404 Not Found
    When using other webbrowers Yahoo is doing fine.
    How do I solve this problem?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • I have had Itunes installed on my laptop for many years. I t started malfunctioning so I uninstalled it. I tried to reinstall and there is persistent error in installing . What is the problem ? How can I solve this?

     

    "It started malfunctioning so I uninstalled it".
    That may have been necessary, may not have.
    "I tried to reinstall and there is persistent error in installing.  What is the problem?"
    No clue.. you've not provided us any details. 
    "How can I solve this?"
    Search these forums or google for the error occurring or post the error so that others can help you.

  • Firefox22 get plc4.dll error, click ok and firefox starts. Did clean reinstall of everything related to Firefox but still have problem. How do I fix this?

    Was using Firefox 21, after 20, etc. Automatically updated Firefox to version 22 and problem appeared. I get the error message, click OK and Firefox runs normally. I reinstalled version 22..same problem. I removed everything after copying bookmarks to html file. I removed application data, extensions, folders--everything. I download a fresh copy of 22, installed it, imported my bookmarks and installed new copies of my extensions. SAME PROBLEM. I get plc4.dll not found error. I copied plc4.dll from Thunderbird to Firefox folder. Then I get nspr4.dll error. I copied this too from Thunderbird to Firefox, then I get xpcom.dll not found error. I copied this as well and get NS_CSTringContainerInit2_P not found in xul.dll. BUT FIREFOX STILL LOADS and runs normally after I click OK. I also did a Malware scan to make sure this wasn't a factor. How do I resolve this crap?

    I did exactly what you describe , no improvement. I was surprised.

  • My mac mini wont shut down when i try it does restard instead and said it has recovery from a problem. How can i sort this out?

    I've installed the new ios on my mac mini and ever since i can not shut down my computer, it does now restard itshelf and give me a messages saing that it has shut down because of a problem.
    Why is that?
    How can I sort this out?
    Thanks guys!

    Welcome to Apple Communities
    http://www.reedcorner.net/understanding-upgrade-nightmares/ Do a PRAM and SMC reset and see if it appears

  • HT1498 Appletv says I have a billing problem. How do I correct this problem?

    Apple Tv says I cannot rent a movie because I have a billing problem. How can I cure my "billing problem"? Thanks

    That's not very specific is it.
    Check your e-mail for the iTunes Store AppleID to see if Apple have identified an issue.
    Raise a support ticket or live chat (if still available in your locale) via iTunes Store support.
    AV

Maybe you are looking for

  • Custom Report issue

    Hi Gurs, I am in middle of a custom report developement which proivdes PO numbera and some of its relative dat, PR number and its relative data againust all the status of invoices(posted,parked,cancelled etc) the issue i m facing is client wants Purc

  • Time to split this forum up a bit?

    i'm thinking that there is alot of traffic here. could we divide this up a bit... i'm thinking: maybe splitting it along the lines of iphone SDK questions and iphone app delivery questions. i'm also hopping they get the search back again soon.

  • RoboHelp HTML Version X5: Word Conversion Issues

    Hello, My company is usually working on FM files and convert them with Mif2go but we happen to receive Word files that I need to convert through RH. The version we use is X5 and I am currently having a problem with the names of the generated HTML fil

  • How does iMovie store the original video?

    I have some video files on an external HD from my old computer with iMovie 08. On my new iMac with iMovie 09, I have opened up one of those video files, or imported it. My question is this: Is there any need to keep the original file from my old comp

  • ABAP Results in  DB tables

    Hello all Can any one tell me in Which DB tables ABAP Results will be stored? Thanks Oli