Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:172618
More Search Options
RSS Available
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!
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
rmprimo
on 5/18/2007
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
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
rmprimo
on 5/18/2007
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
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
rmprimo
on 5/18/2007
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 »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online