Add items into DataContext via loop
===

I have following code in C#, WPF:

    base.DataContext = new DataTemplate[]
                    {
                        new DataTemplate
                        {
                            lblText = "First",
                            txtBoxContent = ""
                        },

                        new DataTemplate
                        {
                            lblText = "Second",
                            txtBoxContent = "Something"
                        }
                    };
but i need to fill DataContext dynamically from database. My idea looks like this:

    base.DataContext = new DataTemplate[]
            {
                for(int i = 0; i< dsTmp.Tables[0].Rows.Count; i++)
                {
                    new DataTemplate
                    {
                        lblText = "Count: ",
                        txtBoxContent = dsTmp.Tables[0].Rows[i][0].ToString();
                    }
                }
            };

 When i type this, it yells some syntax errors on me;

Could anybody tell me, how to write it correctly?