con = new SqlConnection(strConnectionString);
            string strQry = "EXEC GetData " + strParameters;
            command = new SqlCommand(strProcNm, con);
            adapter = new SqlDataAdapter(command);

i am using the above code for callin Stored Procecures i am passing
the parameters as Table name, and a fields to the my general stored
procedures. but it is giving the error that not finding the table name
and it is asking the table name as " @sTablename".

So please can any body help me for this.
i want to use above method only.

Thank you advance...

Reply via email to