C# On Need help drying up my cont...

by zsysop.myopenid.com, September 23, 2011 22:05

I can pass data using param...

Eaeb97b81092455b2b39fd74a04304ef Talk
I can pass data using parameters, but every Step within the wizard would need to have all of the fields of the previous step in the form in order to transfer all of the fields from the previous step(s). Would using params be a cleaner way to approach this?

The checks within the POSTs are there to handle multiple posts.

C# On Need help drying up my cont...

by zsysop.myopenid.com, September 23, 2011 22:04
Eaeb97b81092455b2b39fd74a04304ef Talk
I can pass data using parameters, but every Step within the wizard would need to have all of the fields of the previous step in the form in order to transfer all of the fields from the previous step(s). Would using params be a cleaner way to approach this?

The checks within the POSTs are there to handle multiple posts.

C# On Need help drying up my cont...

by zsysop.myopenid.com, September 23, 2011 22:04
Eaeb97b81092455b2b39fd74a04304ef Talk
[Authorize(Roles="Administrator,DR")]
    public class RegistrarController : BaseController
    {
...

C# Need help drying up my cont...

by zsysop.myopenid.com, September 22, 2011 11:34, 8 refactorings, tagged with C# asp.net-mvc controller asp.net-mvc-3.0

Thanks for any help

Eaeb97b81092455b2b39fd74a04304ef Talk
using System;
using System.Collections.Generic;
using System.Linq;
...

C# Refactoring Suggestions

by zsysop.myopenid.com, August 01, 2011 12:20, 1 refactoring, tagged with C#, itextsharp

Was looking for some sugges...

Eaeb97b81092455b2b39fd74a04304ef Talk
public class MyClass1
    {  
        private DataDestination1 _destination = new DataDestination1();
...

C# Need help with refactoring ...

by zsysop.myopenid.com, May 20, 2011 07:49, 2 refactorings, tagged with C#, parallelforeach

Need some help optimizing &...

Eaeb97b81092455b2b39fd74a04304ef Talk
def is_prime(number): 
	if number < 2: return False
	return all(number % i for i in xrange(2, number))

Python On isprime

by zsysop.myopenid.com, April 13, 2011 23:51 Star_fullStar_fullStar_fullStar_full

How about something like this?

Eaeb97b81092455b2b39fd74a04304ef Talk
private ReportData SetPartnerInfo(ReportData reportData, string partnerPrefix, Partner partner)
        {
            PropertyInfo propertyInfo = reportData.GetType().GetProperty(partnerPrefix + "IDType");
...

C# Cleaning up this method

by zsysop.myopenid.com, April 13, 2011 20:38, 2 refactorings, tagged with c# reflection

Is there any cleaner way to...

Eaeb97b81092455b2b39fd74a04304ef Talk
UI Layer

        private void SaveEquipment()
...

C# Help me Refactor My Classes...

by zsysop.myopenid.com, April 18, 2009 18:14, 3 refactorings, tagged with C#

Please help me refactor thi...

Eaeb97b81092455b2b39fd74a04304ef Talk

C# On Refactoring Help Needed

by zsysop.myopenid.com, March 24, 2009 22:41

How does sp_InsertAddress a...

Eaeb97b81092455b2b39fd74a04304ef Talk
public interface IName
{
    string getLastName();
...

C# Refactoring Help Needed

by zsysop.myopenid.com, March 24, 2009 00:41, 2 refactorings, tagged with asp.net, C#

Please help me make this co...

Eaeb97b81092455b2b39fd74a04304ef Talk
protected void btnUpload_Click(object sender, EventArgs e)
    {
        try
...

C# Import File

by zsysop.myopenid.com, March 17, 2009 21:25, 1 refactoring, tagged with asp.net, C#

How would you refactor this?

Eaeb97b81092455b2b39fd74a04304ef Talk