Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunoocasali/table-maker
This is an UserControl that generate by reflection, a table with some content data.
https://github.com/brunoocasali/table-maker
Last synced: about 23 hours ago
JSON representation
This is an UserControl that generate by reflection, a table with some content data.
- Host: GitHub
- URL: https://github.com/brunoocasali/table-maker
- Owner: brunoocasali
- Created: 2014-06-25T17:47:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-12T13:00:30.000Z (about 10 years ago)
- Last Synced: 2023-08-13T01:57:24.667Z (about 1 year ago)
- Language: C#
- Homepage: http://www.cabuum.com.br
- Size: 148 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Table Maker - User Control
===========This is an simple user control that by reflection generate to you an awesome html table with your data.
How to use:
1° First add into your web.config file:
```
```
2° Create a new web form called `something.aspx`3° Add this code to him ``
It maybe seems like this:
```
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Something.aspx.cs" Inherits="Something" %>Awesome html tables now!!
```
4° In the code behind you need to insert the code reference at your classes and methods.
It maybe seems like this either:```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;public partial class Something : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
uc.ParametersArray = new object[] { /* anything here, ALL OF YOUR METHOD PARAMS */ };
uc.ClassName = typeof(MyClass);
uc.MethodName = "myMethod";
uc.Fields = new List() { "my", "public", "attributes", "that", "I", "want" };
}
}
```And save and start your ISS server! :D
I'll be improve the code, so help me fork this repo!