コード例 #1
0
ファイル: Default.aspx.cs プロジェクト: chatmapa/Azureblog
        private void BindComments()
        {
            var comments = DocumentDb.Initialize();

            commentsRepeater.DataSource = comments;
            commentsRepeater.DataBind();
        }
コード例 #2
0
ファイル: Default.aspx.cs プロジェクト: chatmapa/Azureblog
        protected async void btnCreate_Click(object sender, EventArgs e)
        {
            await DocumentDb.CreateDocument(txtComment.Text);

            BindComments();
            Clear();
        }