My Code Is following i wants to retun a SqLiteDataReader From My Function But I got DataBase Lockked Exception
public static SQLiteDataReader getAction(string Qry)
{
SQLiteConnection m_dbConnection;
SQLiteDataReader reader = null;
m_dbConnection = new SQLiteConnection(Connn);
m_dbConnection.Open();
SQLiteCommand command = new SQLiteCommand(Qry, m_dbConnection);
reader = command.ExecuteReader(System.Data.CommandBehavior.CloseConnection);
return reader;
}
..
Please Help ...