Hi there,

Could some one please help me to attach data from SQl server? my code goes like this:

private void button4_Click(object sender, EventArgs e)
{
SqlDataAdapter adp = new SqlDataAdapter

(the name of the sheet that I like to attach is Main$)

So, when the button 4 is executed, I want the Main$ is to appear on the datagrid... Thanks in advance.