if you are determined to use the datagrid for that matter, cast datagrid datasource to a datatable on button click like this :
void button_click(object sender, EventArgs e)
DataTable dt = (DataTable)(datagrid1.DataSource);
datagrid1.DataSource = dt;
The first one is more easy to implement but the second prevents you from postbacks and unneccessary network traffic.
I am very need ur help..
I have multiple text box which is the user will key in the value.
There are 1 button "Print".
Can I know what code for Print button function to print out all the text box values.