Search

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

Matching Posts

  • Re: Help abstracting a recursive function

    This is it! Thank you Svante. I learned a lot.
    Posted to C# (Forum) by rmprimo on 3/3/2009
  • Re: Help abstracting a recursive function

    Svante, We are getting closer. Let me reiterate the problem: I do not need to piece together the url string. I need to get an array of values for each. This is why I abstracted the generation of the format string in the generatedFormatString( int n) method. What I meant by that was ignore that code. The size of the format items collection is the same for the whole run, so this method executes only once. Whichever iterative solution you propose, there will be an innermost iteration whch should give
    Posted to C# (Forum) by rmprimo on 3/3/2009
  • Re: Help abstracting a recursive function

    Evan, Thanks for spending time on my problem. [quote user="Evan Freeman"]I think I'm hung up on the dictionary. [/quote] I am not using a dictionary. The collection I used was a simple array. What confused you is that I used a DictionaryEntry struct for the collection items. It is a simple off-the-shelf object that packages a pair of values, that's all. I didn't want to complicate the post with my "RangeObject", because that is not really the issue.
    Posted to C# (Forum) by rmprimo on 3/3/2009
  • Help abstracting a recursive function

    Hi All, I am writing a utility to generate a list of virtual urls by plugging values into a format string. I need to abstract it to accomodate different number folder levels which correspond to the number of items "{n}" in the format string. I guess it would have to be recursive just like drilling into IO directory. Ultimately, the utility would be declarative by just specifying the depth (number of levels) and the range of values for each level. //hard coded for a "depth" of
    Posted to C# (Forum) by rmprimo on 3/2/2009
    Filed under: recursion, recursive, String Manipulation - Numeric, abstract, algorithm, C#, format, function, string.format passing objects, <C#>
  • need payment gateway lead

    Does anyone know of a good processor/gateway for web based payments for a high volume billing app? Emphasis on the ACH gateway, but usually they also provide credit card processing too. We capture the enduser payment input in an asp.net app and pass it along to the gateway real time - one at a time. Ultimately, the payment goes to our merchant bank acct. We need them to be a Microsoft shop with a robust web services API - both for the payment data submission and for the reports, and error feedback
    Posted to Enterprise Services Integration (Forum) by rmprimo on 2/12/2008
    Filed under: XML Web Services
  • Re: how to get back the stored procedure return value?

    That's exactly what I was looking for. Thanks!
  • how to get back the stored procedure return value?

    Hi, SqlCommand cmd = myConnection . CreateCommand(); cmd . CommandType = CommandType . StoredProcedure; cmd . CommandText = "myInsertRowSproc" ; cmd . Parameters . Add(mySqlParam ); SqlDataAdapter adapter; adapter . InsertCommand = cmd; adapter . InsertCommand . ExecuteNonQuery(); //how do I get the return value from my sproc back to my DAL code? int returnCode =???? usually in t-sql it is RETURN @@ERROR
  • Re: Has anyone made an asp.net page that imports an excel file into a SQL Database Table?

    It shouldn't be the aspx class that does the work but a separate class whose methods you can call in a button click handler of your code-behind class. Beware of thread/page timeout issues if the .xls file is huge. FYI the new .xlsx format is much more frugal on file size, and richer too, kudos to MS for that. If the spreadsheet formatting is not needed I prefer to strip all that by converting it in Excel to a .csv awhile back Chris Lovett did a nice simple .csv to .xml utility http://www.gotdotnet
  • Re: ClientScript.RegisterStartupScript-Why pass type?

    yes. I don't know what you mean by "compatible". It is just a more specific composite key that is per type. kind of like script domains. If you want to bypass it just pass this.GetType() to it. hth
    Posted to Visual Studio 2005 (Forum) by rmprimo on 4/22/2006
  • Re: whats the difference between these statements?

    Nani1980: both will set the default culture as FR...so what is the difference.. No! <Assembly: NeutralResourcesLanguageAttribute("fr", UltimateResourceFallbackLocation.Satellite)> only deals with the default. If a user's culture is not supported it would default to French and not invariant. The other statement deals with the current culture. CURRENT IS NOT DEFAULT. HTH
    Posted to Localization (Forum) by rmprimo on 4/12/2006
Page 1 of 73 (727 items) 1 2 3 4 5 Next > ... Last »