Search

You searched for the word(s): userid:653297

Matching Posts

  • finding a random item in bindinglist

    This is a total beginners question. I have a bindinglist of books and i would like to pick a random book out of the list how can I accomplish this? BindingList < BookInfo > searchResults = new BindingList < BookInfo >(); AmazonECSService amazonService = new AmazonECS. AmazonECSService (); searchResults = amazonService.SearchBooks(); Random random = new Random (); int randomBook = random.Next(0, searchResults.Count); BookInfo book = searchResult.?????
    Posted to Getting Started (Forum) by newbie06 on 10/16/2009
  • Using HTTPModule to handle IPN notification

    Instead of using a .aspx page to handle the IPN response from amazon.com could I use a HTTPModule??? Notification through IPN If you have configured the Amazon Simple Pay button to use an IPN URL, Amazon sends you the transaction details using Instant Payment Notification (IPN). IPN is an HTTP POST notification that Amazon sends whenever a transaction is completed successfully or a transaction fails. Like Return URL redirection, it communicates transaction data that you must process programmatically
    Posted to Getting Started (Forum) by newbie06 on 9/22/2009
  • Setting which class library to use in web.config file

    I would like to implement different class libraries for different payment services, for example paypal, amazon fps. How can I implement this in a way so that in my web app I can change the setting in my web.config file and my web app would use the payment service specified. I heard of factories and facade but have no idea how to solve this in a elegant manner. What if I have a factory that would instantiate the right service, something like this PaymentServiceFactory.CreatePaymentService(ReadWebConfig
    Posted to Architecture (Forum) by newbie06 on 9/4/2009
  • how to building a youtube like site using Silverlight

    I would like to build a youtube like site using C# and Silverlight. How can I convert all the video formats to .wmv files during upload? How can I make thumbnails of portions of the original video and what Silverlight control to I use to play the videos?
    Posted to Getting Started (Forum) by newbie06 on 8/20/2009
  • adding mutliple CommandArguments to a LinkButton

    I have a LinkButton in a ListView and would like to pass two CommandArguments. Here is my code < asp : LinkButton ID ="LinkButtonLeaveAReply" runat ="server" ToolTip ="Leave a Reply" CausesValidation ="false" CommandArgument =" <%# ((Model.PostPostAttachmentInfo)Container.DataItem).PostID + "," + ((Model.PostPostAttachmentInfo)Container.DataItem).PostTypeID %> " CommandName ="leaveAReply"> Leave a Reply </ asp :
    Posted to Getting Started (Forum) by newbie06 on 8/6/2009
  • Re: adding mutliple CommandArguments to a LinkButton

    Thank you for the reply. Instead of using double quotes, using only single quotes did the trick. CommandArgument =" <%# (Eval("PostID") + "," + Eval("PostTypeID") %>" change to CommandArgument =' <%# (Eval("PostID") + "," + Eval("PostTypeID") %>' Thanks for the help.
    Posted to Getting Started (Forum) by newbie06 on 8/6/2009
  • Encrypting Custom Section in Web Config

    Our objective is to encrypt a custom section in our Web Config. An exhaustive search of the internet has left us none the wiser. Below is an excerpt from our web config file. <secureSection> <amazonFPSSettings amazonFPSPublicKey="This is the public k </secureSection> <dataConfiguration defaultDatabase="ConnectionString"/> <connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Data
    Posted to Getting Started (Forum) by newbie06 on 8/6/2009
  • rewrite, redirect what is the difference????

    I am using the IIS7 URL Rewrite module for the first time, heck I am doing URL rewriting for the first time period. After some reading and searching on the internet I am still not sure what the difference is between a rewrite and then redirect or simply just rewrite. For example if I try to make search engine friendly URL's do I need to create a corresponding redirect rule? I would like to make this URL - http://www.contoso.com/default.aspx?id=1200 search engine friendly like this http://www
    Posted to Getting Started (Forum) by newbie06 on 7/23/2009
  • Getting a random user from MembershipUserCollection

    I am trying to get a random user out of a MembershipUserCollection without any luck. Here is what I have MembershipUserCollection users = Membership .GetAllUsers(); Random randomUser = new Random (); MembershipUser user = users[randomUser.Next(users.Count)]; could somebody please help me, thank you.
    Posted to Getting Started (Forum) by newbie06 on 7/10/2009
  • Re: how to add a amazon.com widget to a content page

    Thank you for your reply. I am trying to add the javascript inbetween the content tags like this: < asp : Content ID ="ContentBooks" ContentPlaceHolderID ="ContentPlaceHolderSYLMainMaster" runat ="server"> < SCRIPT charset ="utf-8" type ="text/javascript" src ="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822/US/widgetsamazon-20/8002/a8fbd251-d9aa-4d16-b1cf-92c2096e0759"> </ SCRIPT
    Posted to Getting Started (Forum) by newbie06 on 5/23/2009
Page 1 of 44 (434 items) 1 2 3 4 5 Next > ... Last ยป