Hi , Your Page_Load checks if it is not a postback right ? This means your code sets the DataSource property of your grid ONLY once and that is when the page loads for the first time. Please write the code "grid.DataSource = dataTable;" just before the code "grid.DataBind()" and let me know if it works. Always make it a habit to set the DataSource of a grid just before calling the DataBind() method on the grid. E.g. I would always code method like "BindPersonsData()" in my application which would be like - private void BindPersonsData() { grdPersons.DataSource = GetPersons(); grdPersons.DataBind(); } private DataTable GetPersons() { DataTable dt = new DataTable(); //logic to get data return dt; }
------------- Ankur - The Tech Anky Think Simple, Code Simple, Do Big