You have to bind the grid view to your data :
private void btnView_Click(object sender, EventArgs e)
{
SqlDataAdapter da = new SqlDataAdapter("select * from view_SpareParts ", con);
DataSet ds = new DataSet();
da.Fill(ds, "ca");
dataGridView1.DataSource = ds.Table[0];
}