The Code Vault
Provide up to 10 members of your organization with access to our code vault for a low monthly fee. New developers
have a second opinion available, seasoned developers can post requests for trivial tasks that may be time consuming,
and managers can review the proficiency of their programming staff! You can choose to keep your requests private to your
company or allow them to be searched anonymously by other members of our code vault.
Post code for analysis
Have a new hire that you need to access the programming proficiency of? Need a second opinion on
business logic you believe could be more efficient? Many companies do not have the capacity or infrastructure
for an internal review unit. There is a real value in providing your developers and managers with a resource for
code analysis.
Post requests for code samples
This is a great resource for entry level programmers as much as it is for senior programmers! Entry level programmers
can post questions about database efficiency or another area they may be novice in, that is obvious. But senior developers
are more aware of their own needs and can shift tasks to another resource. See below!
NOTE They specifically want to use the table control so that is what will be addressed. They may ask for a simple way
to alternate colors or other tasks that target usability. This will allow the developer to focus on business logic instead
of googling for examples to mold into the project.
ISSUE
How do I render an asp:table with click events for the rows. I will need the event to accept a value that I assign
to each row called CustomerID.
RESOLUTION
This is very useful code! Create an object by pasting the code below into a new class file. When you need
to use a clickable tablerow just use the following syntax.
YourCompany.WebControls.TableRow tr = new YourCompany.WebControls.TableRow();
tr.Click += new TableRowEventHandler(Row_Click);
tr.ClickArgument = "Your value!";