All Tags » C# (RSS)

Browse by Tags

  • Can I set size of Windows Media Player control as the size of the video to be played?

    hi, I would like to play a video with its original size. How can I set the size of the Windows Media Player control according such that the video is displayed 100%? For AudioVideoPlayback class, it has a .Size property. Is there a similar property for Windows Media Player control? Also, is it possible...
    Posted to Digital Music (Forum) by microsoft on 06-17-2010
  • C#, Regex, Extract multiple sections of text

    I'm scraping some HTML that has elided sections marked by strike-through, such as Line 1 Line 2 Strike 1 Line 3 some text Strike 2 more text Strike 3 Line 4 Strike 4 I can write a loop that iterates over this text, removing strike-throughs one at a time, but that's lame. You'd think I could...
    Posted to Visual Interdev (Forum) by microsoft on 06-16-2010
  • Generic list

    Hi experts, Please check the code.I am binding my result in a List<> and returning that list to page. In my page ,I have written private void SetFormFields() { List.ProjectConfigurationSettings> lstSettings; lstSettings = PCBL.GetProjectConfigurationSettings(); --------- } I need to bind the...
    Posted to .NET Framework 3.x (Forum) by microsoft on 06-14-2010
  • WCF C# ChannelFactory to create the channel, when the method is call it returns null.

    In my code my AuthenFenceGateGetClient class the GetToken method client object returns null. // client returns null string token = client.GetToken(); When using ChannelFactory to create the channel, when the method is called it returns null. The service in IIS is working. Code Snippet: 1: 2: 3: 4: 5...
    Posted to Web Services and WCF (Forum) by microsoft on 06-10-2010
  • drop down list does not display 'Please Select' as selected item after databinding

    found that once populated data, the drop down list does not show "Please Select" as first selected item. Code Snippet: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: code-behind ----------- protected void Page_Load(object sender...
    Posted to Visual Interdev (Forum) by microsoft on 06-10-2010
  • URL redirect

    Hi, I have built a site that keeps the content in a database. The site has two templates (at the moment) and the user can create new pages based on the templates. The URL to the new page will then be something like http://www.site.com/default.aspx?p=10 . This is not a very userfriendly URL so I also...
    Posted to Visual Interdev (Forum) by microsoft on 06-10-2010
  • URL redirect

    Hi, I have built a site that keeps the content in a database. The site has two templates (at the moment) and the user can create new pages based on the templates. The URL to the new page will then be something like http://www.site.com/default.aspx?p=10 . This is not a very userfriendly URL so I also...
    Posted to Visual Interdev (Forum) by microsoft on 06-10-2010
  • URL redirect

    Hi, I have built a site that keeps the content in a database. The site has two templates (at the moment) and the user can create new pages based on the templates. The URL to the new page will then be something like http://www.site.com/default.aspx?p=10 . This is not a very userfriendly URL so I also...
    Posted to Visual Interdev (Forum) by microsoft on 06-10-2010
  • URL redirect

    Hi, I have built a site that keeps the content in a database. The site has two templates (at the moment) and the user can create new pages based on the templates. The URL to the new page will then be something like http://www.site.com/default.aspx?p=10 . This is not a very userfriendly URL so I also...
    Posted to Visual Interdev (Forum) by microsoft on 06-10-2010
  • URL redirect

    Hi, I have built a site that keeps the content in a database. The site has two templates (at the moment) and the user can create new pages based on the templates. The URL to the new page will then be something like http://www.site.com/default.aspx?p=10 . This is not a very userfriendly URL so I also...
    Posted to Visual Interdev (Forum) by microsoft on 06-10-2010
Page 1 of 213 (2122 items) 1 2 3 4 5 Next > ... Last ยป