コード例 #1
0
        /// <summary>
        /// binds village data
        /// </summary>
        private void searchVillage(string val)
        {
            VillageBLL objVillageBLL = new VillageBLL();

            grdvillage.DataSource = objVillageBLL.SearchVillage(val);
            grdvillage.DataBind();
        }
コード例 #2
0
        /// <summary>
        /// Set Grid Data source
        /// </summary>
        /// <param name="addRow"></param>
        /// <param name="deleteRow"></param>e
        private void BindSearchVillage()
        {
            string     value         = txtVillagename.Text;
            VillageBLL VillageBLLobj = new VillageBLL();

            grdvillage.DataSource = VillageBLLobj.SearchVillage(value);
            grdvillage.DataBind();
        }