Contents tagged with C# (Specific)
-
Utilizing Generics to make a Class structure more mutableā¦
While the ASP.NET GridView control supports automatic paging I found it faster to use custom paging in several situations. I found myself rewriting the same code over and over just to add the basic sorting capabilities to an ASP.NET GridView object. So today I took just a little bit of time to encapsulate it all into a Class I can use and reuse on any page with a GridView. In fact, it will probably take longer to write this blog entry than it took to encapsulate the functionality.
-
April 30th - A week in review
Since I have moved my tech blog to my site I don't post here much anymore. To help ease the transition I will be doing a post every 1-2 weeks giving a review of what I've posted. So, here we go...
-
Doing AD without installing a DC (and more goodies)
As developers of .NET apps we all know that ASP.NET and Domain Controllers don't mix well (though you can get them to somewhat work). However, we still have a need to develop against AD (Active Directory). The following link will allow you to download many goodies for Win2003 including ADAM:
-
Passing Methods As Parameters: Delegates to the Answer
Question:
Is it possible to pass a method (or method address) to another method so that, if conditions warrent, that passed method can be called? -
XML Driven Wizard in C#
I am putting together a Wizard Form - you know, the type that asks many questions in a sequence - in C# for Windows UIs. So far, it seems to be working out quite well. The basic form of my XML is something like:
-
How to: Call a C# Windows Form from a VB6 application?
OK. Here is the problem space: I need to prove the concept of step-by-step migration from VB6 to .NET (Windows application). To accomplish this, I would like to take a small piece of the application (new functionality) and do it in a C# Windows app *that can be hosted within a framework inside of the VB6 app*...
I was on a project with another company (short term) where they had done this. I am not sure how they hooked into the VB MDI form but they had. They had built a container form (VB6) that hosted the C# form(s). It worked very well and allowed them to continue moving that piece of the application forward in .NET while maintaining the other pieces in VB6. As time permitted, they would redo an entire chunk into .NET. The plan was to have the entire thing ported in 12-18 months while not losing ground with an entire re-write.
Any suggestions on how to do this?