Question: I have a database at mysql and the same with on the device, i want to synchronize the updated data once in a period on my device, how can i achieve this ? Please advise. 
I got one worst case solution that is writing triggers for each table and update the details to another table, but i have 20 tables i need to write 4 trigger operations on each table, so overall 80 triggers i need to write, can anyone tell me the solution.Please help

Answer: 
First off, you dont need to use fields if you do nothing in the property other then set it.

```
public Object LogedObject { get; set; }

```

is enough.

Secondly, to show a list of your objects in a DataGrid, as example.

```
protected void Page_Load(object sender, EventArgs e)
{
    DataGrid dg = new DataGrid();
    dg.DataSource = getModels();
    dg.DataBind();
}

public List<EventDetail> getModels()
{
    var m = new List<EventDetail>();
    for (int a = 0; a < 15; a++)
    {
        m.Add(new EventDetail() { prop1 = a, prop2 = string.Format("Prop2 {0}", a) });
    }
    return m;                   
}

public class EventDetail
{
    public Int64 LogID { get; set; }
    public Object LogedObject { get; set; }
}

```
To bind with GridView (or similar controls such as Repeater, ListView), you typically need to know property names of object because that's what you will use to bind column to. So is this example, you may bind to LogID and LogedObject properties. For later, ToString will be invoked on object to show the string representation.