i am trying to insert records into SQL database ..........here is the code snippet
I receive the System.Data.sql client..... Exception

Code:
Code:
public void setData(CustInfo c)
        {
            CQuery cq = new CQuery();
            ExecuteQuery1(CQuery.custQuery,c);
        }


        public void ExecuteQuery1(string query,CustInfo c)
        {
            try
...