Пример #1
0
        protected void C1GridView1_RowUpdating(object sender, C1GridViewUpdateEventArgs e)
        {
            // bind the grid
            C1GridView1.DataSource = GetDataSet();

            // update the datasource
            C1GridView1.Update();

            // Reset the edit mode for the current item
            C1GridView1.EditIndex = -1;

            // Refresh the grid
            UpdateView();
        }
Пример #2
0
		protected void C1GridView1_RowUpdating(object sender, C1GridViewUpdateEventArgs e)
		{
			// bind the grid
			C1GridView1.DataSource = GetDataSet();
			
			// update the datasource
			C1GridView1.Update();

			// Reset the edit mode for the current item
			C1GridView1.EditIndex = -1;

			// Refresh the grid
			UpdateView();
		}