nishant ranjan

nishant ranjan

  • NA
  • 390
  • 0

command used in c# and mysql connection

Jul 29 2013 7:05 AM
string StrQuery="SELECT name FROM sys.columns WHERE object_id = OBJECT_ID('dbo.DSSB_APPLICANT_INFO')

if (SqlconTemp.State == ConnectionState.Closed)
                    SqlconTemp.Open();
                OdbcCommand SqlCmdTemp = new OdbcCommand(StrQuery, SqlconTemp);
                OdbcDataAdapter SqlDATemp = new OdbcDataAdapter(SqlCmdTemp);


this returns error as sys.column doesnot exist. let me know error


Answers (6)